File tree 1 file changed +4
-6
lines changed
src/plugins/georeferencer
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -1021,12 +1021,10 @@ void QgsGeorefPluginGui::createMenus()
1021
1021
mToolbarMenu ->addAction ( toolBarEdit->toggleViewAction () );
1022
1022
mToolbarMenu ->addAction ( toolBarView->toggleViewAction () );
1023
1023
1024
- QgsSettings s;
1025
- int size = s.value ( QStringLiteral ( " /IconSize" ), 32 ).toInt ();
1026
- toolBarFile->setIconSize ( QSize ( size, size ) );
1027
- toolBarEdit->setIconSize ( QSize ( size, size ) );
1028
- toolBarView->setIconSize ( QSize ( size, size ) );
1029
- toolBarHistogramStretch->setIconSize ( QSize ( size, size ) );
1024
+ toolBarFile->setIconSize ( mIface ->iconSize () );
1025
+ toolBarEdit->setIconSize ( mIface ->iconSize () );
1026
+ toolBarView->setIconSize ( mIface ->iconSize () );
1027
+ toolBarHistogramStretch->setIconSize ( mIface ->iconSize () );
1030
1028
1031
1029
// View menu
1032
1030
if ( layout != QDialogButtonBox::KdeLayout )
You can’t perform that action at this time.
0 commit comments