Skip to content

Commit 77c6842

Browse files
committedSep 11, 2012
Clean with prepare-commit
1 parent 6787a87 commit 77c6842

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
 

‎src/gui/qgscollapsiblegroupbox.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ QIcon QgsCollapsibleGroupBox::mCollapseIcon;
2929
QIcon QgsCollapsibleGroupBox::mExpandIcon;
3030

3131
QgsCollapsibleGroupBox::QgsCollapsibleGroupBox( QWidget *parent )
32-
: QGroupBox( parent ), mCollapsed( false ), mSaveState( true )
32+
: QGroupBox( parent ), mCollapsed( false ), mSaveState( true )
3333
{
3434
init();
3535
}
@@ -88,10 +88,10 @@ void QgsCollapsibleGroupBox::showEvent( QShowEvent * event )
8888
event->accept();
8989
}
9090

91-
void QgsCollapsibleGroupBox::mouseReleaseEvent( QMouseEvent *event )
91+
void QgsCollapsibleGroupBox::mouseReleaseEvent( QMouseEvent *event )
9292
{
9393
// catch mouse release over title when non checkable, to collapse/expand
94-
if ( !isCheckable() && event->button() == Qt::LeftButton )
94+
if ( !isCheckable() && event->button() == Qt::LeftButton )
9595
{
9696
if ( titleRect().contains( event->pos() ) )
9797
{
@@ -107,7 +107,7 @@ QRect QgsCollapsibleGroupBox::titleRect() const
107107
{
108108
QStyleOptionGroupBox box;
109109
initStyleOption( &box );
110-
return style()->subControlRect( QStyle::CC_GroupBox, &box,
110+
return style()->subControlRect( QStyle::CC_GroupBox, &box,
111111
QStyle::SC_GroupBoxLabel, this );
112112
}
113113

@@ -131,9 +131,9 @@ QString QgsCollapsibleGroupBox::saveKey() const
131131

132132
void QgsCollapsibleGroupBox::loadState()
133133
{
134-
if ( ! mSaveState )
134+
if ( ! mSaveState )
135135
return;
136-
136+
137137
setUpdatesEnabled( false );
138138

139139
QSettings settings;
@@ -150,7 +150,7 @@ void QgsCollapsibleGroupBox::loadState()
150150

151151
void QgsCollapsibleGroupBox::saveState()
152152
{
153-
if ( ! mSaveState )
153+
if ( ! mSaveState )
154154
return;
155155
QgsDebugMsg( "key = " + saveKey() + " objectName = " + objectName() );
156156
QSettings settings;

0 commit comments

Comments
 (0)