Skip to content
Permalink
Browse files

FIX #4201

  • Loading branch information
mbernasocchi committed Jan 11, 2012
1 parent 325df26 commit f7d80e5d6e82c63ad6ca868c5471444978dcf46b
Showing with 6 additions and 1 deletion.
  1. +6 −1 src/app/qgsoptions.cpp
@@ -67,6 +67,11 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WFlags fl ) :
cmbSize->addItem( "16" );
cmbSize->addItem( "24" );
cmbSize->addItem( "32" );
#ifdef ANDROID
int defaultCmbSize = 32;
#else
int defaultCmbSize = 24;
#endif

QStringList styles = QStyleFactory::keys();
foreach( QString style, styles )
@@ -281,7 +286,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WFlags fl ) :

// set the theme combo
cmbTheme->setCurrentIndex( cmbTheme->findText( settings.value( "/Themes", "default" ).toString() ) );
cmbSize->setCurrentIndex( cmbSize->findText( settings.value( "/IconSize", 24 ).toString() ) );
cmbSize->setCurrentIndex( cmbSize->findText( settings.value( "/IconSize", defaultCmbSize ).toString() ) );
QString name = QApplication::style()->objectName();
cmbStyle->setCurrentIndex( cmbStyle->findText( name, Qt::MatchFixedString ) );
//set the state of the checkboxes

0 comments on commit f7d80e5

Please sign in to comment.
You can’t perform that action at this time.