diff gui/src/MainWindow.h @ 14602:c8453a013000 gui

Cleaned up code. Fixed bug that causes the GUI to freeze when launching another editor. * FileEditor: Now the call of another process returns immediately. Adjusted text when closing a file. * MainWindow: Moved creating a lexer into the constructor.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Mon, 07 May 2012 02:36:49 +0200
parents 97cb9286919c
children 7fbea449737d
line wrap: on
line diff
--- a/gui/src/MainWindow.h	Mon May 07 01:37:26 2012 +0200
+++ b/gui/src/MainWindow.h	Mon May 07 02:36:49 2012 +0200
@@ -67,9 +67,9 @@
   {
     return m_filesDockWidget;
   }
-  bool isCloseApplication ()
+  bool closing ()
   {
-    return m_closeApplication;
+    return m_closing;
   }
 
 signals:
@@ -115,7 +115,7 @@
   QStatusBar *m_statusBar;
 
   // Flag for closing whole application
-  bool m_closeApplication;
+  bool m_closing;
 };
 
 #endif // MAINWINDOW_H