Revision: 201033
authorDremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 02 Sep 2010 21:20:32 +0300
changeset 34 a33bf25e6f72
parent 33 3e2da88830cd
child 36 ef0373b55136
Revision: 201033 Kit: 201035
VERSION.SHA1
src/gui/kernel/qwidget_s60.cpp
--- a/VERSION.SHA1	Wed Aug 18 10:37:55 2010 +0300
+++ b/VERSION.SHA1	Thu Sep 02 21:20:32 2010 +0300
@@ -1,1 +1,1 @@
-3d27fe288e4d8f0c989204751fae814d0131018f
+acc48564b55b8e2fbc80e7b93c790a44f4a7b6e3
--- a/src/gui/kernel/qwidget_s60.cpp	Wed Aug 18 10:37:55 2010 +0300
+++ b/src/gui/kernel/qwidget_s60.cpp	Thu Sep 02 21:20:32 2010 +0300
@@ -1225,7 +1225,8 @@
         // At this point the backing store should already be destroyed
         // so we flush the command buffer to ensure that the freeing of
         // those resources and deleting the window can happen "atomically"
-        S60->wsSession().Flush();
+        if (qApp)
+            S60->wsSession().Flush();
     }
 }