diff -r 730c025d4b77 -r f378acbc9cfb src/hbwidgets/widgets/hbcheckbox.cpp --- a/src/hbwidgets/widgets/hbcheckbox.cpp Thu Jul 15 14:03:49 2010 +0100 +++ b/src/hbwidgets/widgets/hbcheckbox.cpp Thu Jul 22 16:36:53 2010 +0100 @@ -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