Skip to content

Commit

Permalink
place the iconsize setting inside the qgis group
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jan 16, 2018
1 parent 05c7132 commit c2e0775
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/qgsoptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down Expand Up @@ -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() );

Expand Down

0 comments on commit c2e0775

Please sign in to comment.