Skip to content
Permalink
Browse files

place the iconsize setting inside the qgis group

  • Loading branch information
nirvn committed Jan 16, 2018
1 parent 05c7132 commit c2e0775287c67a740986ce6f98970d20b097458e
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgsoptions.cpp
@@ -520,7 +520,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl, const QList<QgsOpti
mKeepBaseUnitCheckBox->setChecked( false );
}

cmbIconSize->setCurrentIndex( cmbIconSize->findText( mSettings->value( QStringLiteral( "/IconSize" ), QGIS_ICON_SIZE ).toString() ) );
cmbIconSize->setCurrentIndex( cmbIconSize->findText( mSettings->value( QStringLiteral( "qgis/iconSize" ), QGIS_ICON_SIZE ).toString() ) );

// set font size and family
spinFontSize->blockSignals( true );
@@ -1295,7 +1295,7 @@ void QgsOptions::saveOptions()

QgsApplication::setNullRepresentation( leNullValue->text() );
mSettings->setValue( QStringLiteral( "/qgis/style" ), cmbStyle->currentText() );
mSettings->setValue( QStringLiteral( "/IconSize" ), cmbIconSize->currentText() );
mSettings->setValue( QStringLiteral( "/qgis/iconSize" ), cmbIconSize->currentText() );

mSettings->setValue( QStringLiteral( "/qgis/messageTimeout" ), mMessageTimeoutSpnBx->value() );

0 comments on commit c2e0775

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