summaryrefslogtreecommitdiffstats
path: root/addon/doxywizard/doxywizard.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2009-05-22 11:07:08 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2009-05-22 11:07:08 (GMT)
commit8375a55083e5232e65493e73cb594c9c5e9552ab (patch)
tree9568dad93df55e8726251e5bdb1f2d8c00bdde93 /addon/doxywizard/doxywizard.cpp
parentbb12cae9e3318bfb11de719aa3e93db2bfaaccd6 (diff)
downloadDoxygen-8375a55083e5232e65493e73cb594c9c5e9552ab.zip
Doxygen-8375a55083e5232e65493e73cb594c9c5e9552ab.tar.gz
Doxygen-8375a55083e5232e65493e73cb594c9c5e9552ab.tar.bz2
Release-1.5.9-20090522
Diffstat (limited to 'addon/doxywizard/doxywizard.cpp')
-rw-r--r--addon/doxywizard/doxywizard.cpp4
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()