videocollection/tsrc/stubs/src/hbstackedwidget.h
changeset 35 3738fe97f027
parent 34 bbb98528c666
--- a/videocollection/tsrc/stubs/src/hbstackedwidget.h	Thu Apr 01 23:22:15 2010 +0300
+++ b/videocollection/tsrc/stubs/src/hbstackedwidget.h	Thu Apr 01 23:32:44 2010 +0300
@@ -18,6 +18,7 @@
 #ifndef HBSTACKEDWIDGET
 #define HBSTACKEDWIDGET
 
+#include <qpointer.h>
 #include <QGraphicsWidget>
 #include "hbwidget.h"
 
@@ -55,8 +56,7 @@
      */
     static int initializeCount;
     
-    QObject *mCurrentWidget;
-
+    QPointer<QObject> mCurrentWidget;
 };
 
 #endif