--- a/src/dialogs/ldrawpathdialog.cpp Sun Sep 06 04:48:58 2015 +0300 +++ b/src/dialogs/ldrawpathdialog.cpp Sun Sep 06 13:46:39 2015 +0300 @@ -43,7 +43,7 @@ connect (ui.path, SIGNAL (textChanged (QString)), this, SIGNAL (pathChanged (QString))); connect (ui.searchButton, SIGNAL (clicked()), this, SLOT (searchButtonClicked())); - connect (ui.buttonBox, SIGNAL (rejected()), this, validDefault ? SLOT (reject()) : SLOT (slot_exit())); + connect (ui.buttonBox, SIGNAL (rejected()), this, SLOT (reject())); connect (ui.buttonBox, SIGNAL (accepted()), this, SLOT (accept())); setPath (defaultPath); } @@ -81,11 +81,6 @@ setPath (newpath); } -void LDrawPathDialog::slot_exit() -{ - Exit(); -} - void LDrawPathDialog::setStatusText (const QString& statusText, bool ok) { okButton()->setEnabled (ok);