diff options
Diffstat (limited to 'addon')
-rw-r--r-- | addon/doxywizard/doxywizard.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addon/doxywizard/doxywizard.cpp b/addon/doxywizard/doxywizard.cpp index 63d7efe..5928524 100644 --- a/addon/doxywizard/doxywizard.cpp +++ b/addon/doxywizard/doxywizard.cpp @@ -8,8 +8,8 @@ const int messageTimeout = 5000; //!< status bar message timeout in millisec. MainWindow &MainWindow::instance() { - static MainWindow theInstance; - return theInstance; + static MainWindow *theInstance = new MainWindow; + return *theInstance; } MainWindow::MainWindow() |