]> vaikene.ee Git - evaf/blobdiff - src/main/CLI/main.cpp
Added iApp::exec() function, which enters the Qt event loop and runs the application.
[evaf] / src / main / CLI / main.cpp
index 51d5f517adae79db24a1734e6241a7a8cb53da68..0c3cbb65d597548617cb14500c21d561306297f8 100644 (file)
@@ -178,7 +178,7 @@ bool Application::processCommandLine(int argc, char ** argv)
                     case Common::iLogger::Info:
                         consoleSeverityLevel = Common::iLogger::Debug;
                         break;
-                    case Common::iLogger::Debug:
+                    default:
                         break;
                 }
             }
@@ -281,7 +281,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;