Skip to content

Commit

Permalink
fix build on mac (take II)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Aug 9, 2012
1 parent 6fb89b1 commit 2983ad7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/app/qgsoptions.cpp
Expand Up @@ -738,9 +738,9 @@ void QgsOptions::toggleStandardDeviation( int state )
}
}

#ifdef Q_WS_X11
void QgsOptions::toggleEnableBackbuffer( int state )
{
#ifdef Q_WS_X11
if ( Qt::Checked == state )
{
labelUpdateThreshold->setEnabled( false );
Expand All @@ -751,8 +751,10 @@ void QgsOptions::toggleEnableBackbuffer( int state )
labelUpdateThreshold->setEnabled( true );
spinBoxUpdateThreshold->setEnabled( true );
}
}
#else
Q_UNUSED( state );
#endif
}

QString QgsOptions::theme()
{
Expand Down
2 changes: 0 additions & 2 deletions src/app/qgsoptions.h
Expand Up @@ -74,11 +74,9 @@ class QgsOptions : public QDialog, private Ui::QgsOptionsBase

void toggleStandardDeviation( int );

#ifdef Q_WS_X11
//! Slot to change backbuffering. This is handled when the user changes
// the value of the checkbox
void toggleEnableBackbuffer( int );
#endif

/**
* Return the desired state of newly added layers. If a layer
Expand Down

0 comments on commit 2983ad7

Please sign in to comment.