tools/assistant/lib/qhelpcontentwidget.cpp
branchGCC_SURGE
changeset 31 5daf16870df6
parent 30 5dc02b23752f
--- a/tools/assistant/lib/qhelpcontentwidget.cpp	Mon Jun 21 22:38:13 2010 +0100
+++ b/tools/assistant/lib/qhelpcontentwidget.cpp	Thu Jul 22 16:41:55 2010 +0100
@@ -370,7 +370,8 @@
         delete d->rootItem;
         d->rootItem = 0;
     }
-    reset();
+    if (!onShutDown)
+        reset();
 }
 
 /*!