radioapp/radiowidgets/src/radiostripbase.cpp
changeset 57 21be958eb3ce
parent 54 a8ba0c289b44
--- a/radioapp/radiowidgets/src/radiostripbase.cpp	Tue Oct 12 11:25:14 2010 +0300
+++ b/radioapp/radiowidgets/src/radiostripbase.cpp	Fri Oct 15 16:26:27 2010 +0300
@@ -34,7 +34,7 @@
     mIsCyclic( true ),
     mAutoCenter( false ),
     mOverlap( 0 ),
-    mItemPoolParent( new QGraphicsWidget( NULL ) ),
+    mItemPoolParent( new QGraphicsWidget( this ) ),
     mCurrentIndex( 0 ),
     mPressedIndex( 0 ),
     mStripLength( 0 ),