cmake-gui: Change install buttons to activate on clicked instead of pressed.

This matches the behavior of other buttons.
This commit is contained in:
Kevin Wojniak 2015-01-26 07:48:57 -08:00 committed by Clinton Stimpson
parent c19539c594
commit b46a15194b
1 changed files with 3 additions and 3 deletions

View File

@ -15,11 +15,11 @@ QMacInstallDialog::QMacInstallDialog(QWidget*w)
{ {
this->Internals = new QMacInstallDialogInternals; this->Internals = new QMacInstallDialogInternals;
this->Internals->setupUi(this); this->Internals->setupUi(this);
QObject::connect(this->Internals->choosePathButton, SIGNAL(pressed()), QObject::connect(this->Internals->choosePathButton, SIGNAL(clicked(bool)),
this, SLOT(ShowBrowser())); this, SLOT(ShowBrowser()));
QObject::connect(this->Internals->skipInstallButton, SIGNAL(pressed()), QObject::connect(this->Internals->skipInstallButton, SIGNAL(clicked(bool)),
this, SLOT(SkipInstall())); this, SLOT(SkipInstall()));
QObject::connect(this->Internals->doInstallButton, SIGNAL(pressed()), QObject::connect(this->Internals->doInstallButton, SIGNAL(clicked(bool)),
this, SLOT(DoInstall())); this, SLOT(DoInstall()));
this->Internals->InstallPrefix->setText("/usr/bin/"); this->Internals->InstallPrefix->setText("/usr/bin/");