Skip to content
Permalink
Browse files

fix iconsize for toolbars in georeferencer plugin

  • Loading branch information
slarosa committed Jan 29, 2018
1 parent 51c5805 commit aed5090cbacd1afb54a88fc85e758ff97a37d894
Showing with 4 additions and 6 deletions.
  1. +4 −6 src/plugins/georeferencer/qgsgeorefplugingui.cpp
@@ -1021,12 +1021,10 @@ void QgsGeorefPluginGui::createMenus()
mToolbarMenu->addAction( toolBarEdit->toggleViewAction() );
mToolbarMenu->addAction( toolBarView->toggleViewAction() );

QgsSettings s;
int size = s.value( QStringLiteral( "/IconSize" ), 32 ).toInt();
toolBarFile->setIconSize( QSize( size, size ) );
toolBarEdit->setIconSize( QSize( size, size ) );
toolBarView->setIconSize( QSize( size, size ) );
toolBarHistogramStretch->setIconSize( QSize( size, size ) );
toolBarFile->setIconSize( mIface->iconSize() );
toolBarEdit->setIconSize( mIface->iconSize() );
toolBarView->setIconSize( mIface->iconSize() );
toolBarHistogramStretch->setIconSize( mIface->iconSize() );

// View menu
if ( layout != QDialogButtonBox::KdeLayout )

0 comments on commit aed5090

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