Mercurial > trustbridge
diff ui/main.cpp @ 17:c12825a651ed
Read out content-length and use this to skip existing files
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 19 Feb 2014 14:22:26 +0000 |
parents | 225a5ec20dad |
children | f22a99f7cb69 |
line wrap: on
line diff
--- a/ui/main.cpp Wed Feb 19 10:45:29 2014 +0000 +++ b/ui/main.cpp Wed Feb 19 14:22:26 2014 +0000 @@ -4,6 +4,7 @@ #include <QSystemTrayIcon> #include <QtPlugin> #include <QMessageBox> +#include <QSettings> #ifndef VERSION #define VERSION "0.0.1" @@ -39,6 +40,7 @@ QApplication::setOrganizationName(QString::fromLatin1(ORGANIZATION)); QApplication::setApplicationName(QString::fromLatin1(APPNAME)); QApplication::setApplicationVersion(QString::fromLatin1(VERSION)); + QSettings::setDefaultFormat(QSettings::IniFormat); MainWindow mainWin; mainWin.show();