diff -r 1d544788a8b3 -r d0b278fd29d5 src/main.cpp --- a/src/main.cpp Wed Jul 17 00:31:04 2013 +0300 +++ b/src/main.cpp Wed Jul 17 01:53:57 2013 +0300 @@ -1,11 +1,19 @@ #include +#include #include "types.h" #include "config.h" +QSettings* cfg; + // ============================================================================= // ----------------------------------------------------------------------------- int main( int argc, char* argv[] ) { QApplication app( argc, argv ); + app.setApplicationName( APPNAME ); + app.setApplicationVersion( versionString() ); + + QSettings settings; + cfg = &settings; for( int i = 1; i < argc; ++i ) { str arg = argv[i];