From dcfe9f9c6fc9f715e2ffee9d1bfba78cd8074fcf Mon Sep 17 00:00:00 2001
From: pospelov <pospelov@fz-juelich.de>
Date: Tue, 6 Nov 2012 14:38:41 +0100
Subject: [PATCH] Fix in graphics engine which was kind of running in batch
 mode

---
 App/src/main.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/App/src/main.cpp b/App/src/main.cpp
index 3f44fa192b4..01fbf1e2207 100644
--- a/App/src/main.cpp
+++ b/App/src/main.cpp
@@ -50,9 +50,9 @@ int main(int argc, char **argv)
     if( !command_line_options.isConsistent() ) return 0;
 
     // holding graphics if it exists
-    if( gApplication ) {
+    if( theApp ) {
         std::cout << "main() -> Info. Holding graphics, press ctrl-C to exit..." << std::endl;
-        gApplication->Run();
+        theApp->Run();
     }
 
     return 0;
-- 
GitLab