--- a/src/ldpaths.cpp Sun Sep 06 04:48:58 2015 +0300 +++ b/src/ldpaths.cpp Sun Sep 06 13:46:39 2015 +0300 @@ -20,7 +20,7 @@ connect (m_dialog, SIGNAL (pathChanged(QString)), this, SLOT (configurePaths (QString))); if (not m_dialog->exec()) - Exit(); + exit (1); else m_config->setLDrawPath (m_dialog->path()); }