Skip to content
Permalink
Browse files
Finish refactoring that caused build error
  • Loading branch information
dakcarto committed Jan 13, 2013
1 parent 906c7a1 commit ccbd3e2e9d3d97e21c0f29203c4f1ec27afa84b3
Showing with 5 additions and 5 deletions.
  1. +3 −3 src/app/qgsoptions.cpp
  2. +2 −2 src/ui/qgsoptionsbase.ui
@@ -462,7 +462,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WFlags fl ) :
}
blockSignals( false );

mInfoBarTimeoutSpnBx->setValue( settings.value( "/qgis/messageTimeout", 5 ).toInt() );
mMessageTimeoutSpnBx->setValue( settings.value( "/qgis/messageTimeout", 5 ).toInt() );

QString name = QApplication::style()->objectName();
cmbStyle->setCurrentIndex( cmbStyle->findText( name, Qt::MatchFixedString ) );
@@ -1080,8 +1080,8 @@ void QgsOptions::saveOptions()
settings.setValue( "/fontFamily", fontFamily );
QgisApp::instance()->setAppStyleSheet();

settings.setValue( "/qgis/messageTimeout", mInfoBarTimeoutSpnBx->value() );
QgisApp::instance()->setMessageTimeout( mInfoBarTimeoutSpnBx->value() );
settings.setValue( "/qgis/messageTimeout", mMessageTimeoutSpnBx->value() );
QgisApp::instance()->setMessageTimeout( mMessageTimeoutSpnBx->value() );

// rasters settings
settings.setValue( "/Raster/defaultRedBand", spnRed->value() );
@@ -468,7 +468,7 @@
<item>
<layout class="QHBoxLayout" name="horizontalLayout_28">
<item>
<widget class="QLabel" name="mInfoBarTimeoutLabel">
<widget class="QLabel" name="mMessageTimeoutLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
@@ -494,7 +494,7 @@
</spacer>
</item>
<item>
<widget class="QSpinBox" name="mInfoBarTimeoutSpnBx">
<widget class="QSpinBox" name="mMessageTimeoutSpnBx">
<property name="suffix">
<string> s</string>
</property>

0 comments on commit ccbd3e2

Please sign in to comment.