Browse Source

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

This matches the behavior of other buttons.
Kevin Wojniak 11 years ago
parent
commit
b46a15194b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Source/QtDialog/QMacInstallDialog.cxx

+ 3 - 3
Source/QtDialog/QMacInstallDialog.cxx

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