--- 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