src/hbwidgets/widgets/hbcheckbox.cpp
changeset 7 923ff622b8b9
parent 2 06ff229162e9
child 21 4633027730f5
child 34 ed14f46c0e55
--- a/src/hbwidgets/widgets/hbcheckbox.cpp	Wed Jun 23 18:33:25 2010 +0300
+++ b/src/hbwidgets/widgets/hbcheckbox.cpp	Tue Jul 06 14:36:53 2010 +0300
@@ -55,8 +55,9 @@
 HbCheckBoxSpacer::HbCheckBoxSpacer( QGraphicsItem *parent )
     : HbWidgetBase( parent )
 {
-    // seems to be 4.6 only?
-    //    setFlag( QGraphicsItem::ItemHasNoContents, true );
+#if QT_VERSION >= 0x040600
+    setFlag(QGraphicsItem::ItemHasNoContents, true);
+#endif
 }
 
 QSizeF HbCheckBoxSpacer::sizeHint( Qt::SizeHint which, const QSizeF &constraint ) const