Merge topic 'cmake-gui-osx-install-command-line'
d9b974b1
cmake-gui: Make command-line install help text selectable
This commit is contained in:
commit
d6011a61e9
|
@ -445,6 +445,7 @@ void CMakeSetupDialog::doInstallForCommandLine()
|
||||||
l->addWidget(lab);
|
l->addWidget(lab);
|
||||||
lab->setText(msg);
|
lab->setText(msg);
|
||||||
lab->setWordWrap(false);
|
lab->setWordWrap(false);
|
||||||
|
lab->setTextInteractionFlags(Qt::TextSelectableByMouse);
|
||||||
QDialogButtonBox* btns = new QDialogButtonBox(QDialogButtonBox::Ok,
|
QDialogButtonBox* btns = new QDialogButtonBox(QDialogButtonBox::Ok,
|
||||||
Qt::Horizontal, &dialog);
|
Qt::Horizontal, &dialog);
|
||||||
QObject::connect(btns, SIGNAL(accepted()), &dialog, SLOT(accept()));
|
QObject::connect(btns, SIGNAL(accepted()), &dialog, SLOT(accept()));
|
||||||
|
|
Loading…
Reference in New Issue