src/hbwidgets/widgets/hbcheckbox.cpp
branchGCC_SURGE
changeset 15 f378acbc9cfb
parent 7 923ff622b8b9
child 21 4633027730f5
child 34 ed14f46c0e55
equal deleted inserted replaced
9:730c025d4b77 15:f378acbc9cfb
    53 };
    53 };
    54 
    54 
    55 HbCheckBoxSpacer::HbCheckBoxSpacer( QGraphicsItem *parent )
    55 HbCheckBoxSpacer::HbCheckBoxSpacer( QGraphicsItem *parent )
    56     : HbWidgetBase( parent )
    56     : HbWidgetBase( parent )
    57 {
    57 {
    58     // seems to be 4.6 only?
    58 #if QT_VERSION >= 0x040600
    59     //    setFlag( QGraphicsItem::ItemHasNoContents, true );
    59     setFlag(QGraphicsItem::ItemHasNoContents, true);
       
    60 #endif
    60 }
    61 }
    61 
    62 
    62 QSizeF HbCheckBoxSpacer::sizeHint( Qt::SizeHint which, const QSizeF &constraint ) const
    63 QSizeF HbCheckBoxSpacer::sizeHint( Qt::SizeHint which, const QSizeF &constraint ) const
    63 {
    64 {
    64     Q_UNUSED( constraint );
    65     Q_UNUSED( constraint );