X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;f=src%2Fmain%2FGUI%2Fmain.cpp;h=f0e765f5f574ff10e002f0cbf68a7b6519734b7a;hb=4e8a8e8bba08252b1976428942a089fd560d19d9;hp=68062462daeb74aecfa8d5866b9eb9249133079a;hpb=4bf2068a0d16afd45cd171548da6320095d0851e;p=evaf
diff --git a/src/main/GUI/main.cpp b/src/main/GUI/main.cpp
index 6806246..f0e765f 100644
--- a/src/main/GUI/main.cpp
+++ b/src/main/GUI/main.cpp
@@ -29,7 +29,6 @@
#include
#include
-#include
#include
#include
@@ -235,7 +234,7 @@ bool Application::processCommandLine(int argc, char ** argv)
case Common::iLogger::Info:
Internal::ConsoleSeverityLevel = Common::iLogger::Debug;
break;
- case Common::iLogger::Debug:
+ default:
break;
}
}
@@ -263,7 +262,6 @@ void Application::printHelp()
" -lang[uage]=xx[_CC] Specifies the language, where xx is the ISO 639\n"
" language code followed by an optional ISO 3166 country\n"
" code.\n"
- // Handled by the iEnv interface implementation
" -root[dir]=DIR Specifies the application's root directory.\n"
" -dataroot[dir]=DIR Specifies the data root directory.\n"
" -etc[dir]=DIR Specifies the configuration files directory.\n"
@@ -411,7 +409,7 @@ int main(int argc, char ** argv)
// Run the application
EVAF_INFO("Running %s", VER_MODULE_NAME_STR);
- rval = app.exec();
+ rval = Common::iApp::instance()->exec();
quit = rval != Common::iApp::RC_Restart;