Skip to content

Commit c2e0775

Browse files
committedJan 16, 2018
place the iconsize setting inside the qgis group
1 parent 05c7132 commit c2e0775

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/app/qgsoptions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl, const QList<QgsOpti
520520
mKeepBaseUnitCheckBox->setChecked( false );
521521
}
522522

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

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

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.