diff options
Diffstat (limited to 'src/browser.cpp')
-rw-r--r-- | src/browser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/browser.cpp b/src/browser.cpp index 0ea36d8..0c4191f 100644 --- a/src/browser.cpp +++ b/src/browser.cpp @@ -193,6 +193,7 @@ void Browser::setConfigPath(const QString &path) m_settings = new Settings(configLocation, defaultsLocation); +#ifdef QT_DEBUG if(m_settings->isEmpty()) { // There are no keys in the settings QMessageBox::information(0, @@ -200,6 +201,7 @@ void Browser::setConfigPath(const QString &path) tr("The configuration file <i>%1</i> is empty.<br>" "Using default values from <i>%2</i>.").arg(configLocation, defaultsLocation)); } +#endif } MainWindow *Browser::mainWindow() |