summary refs log tree commit diff
path: root/include/MainWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/MainWindow.h')
-rw-r--r--include/MainWindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/MainWindow.h b/include/MainWindow.h
index 2d047b51..d7c5e41d 100644
--- a/include/MainWindow.h
+++ b/include/MainWindow.h
@@ -42,7 +42,7 @@ public:
         explicit MainWindow(QWidget *parent = 0);
         ~MainWindow();
 
-        static MainWindow *instance();
+        static MainWindow *instance() { return instance_; };
         void saveCurrentWindowSize();
 
 protected: