Merge topic 'cmake-gui-osx-install-command-line'

d9b974b1 cmake-gui: Make command-line install help text selectable
This commit is contained in:
Brad King 2015-06-09 09:18:42 -04:00 committed by CMake Topic Stage
commit d6011a61e9
1 changed files with 1 additions and 0 deletions

View File

@ -445,6 +445,7 @@ void CMakeSetupDialog::doInstallForCommandLine()
l->addWidget(lab);
lab->setText(msg);
lab->setWordWrap(false);
lab->setTextInteractionFlags(Qt::TextSelectableByMouse);
QDialogButtonBox* btns = new QDialogButtonBox(QDialogButtonBox::Ok,
Qt::Horizontal, &dialog);
QObject::connect(btns, SIGNAL(accepted()), &dialog, SLOT(accept()));