aboutsummaryrefslogtreecommitdiffstats
path: root/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r--mainwindow.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp
index 41db36f..eb77266 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -100,7 +100,8 @@ void MainWindow::restoreSettings()
// Iconsize
QSize iconSize = settings.value("toolbar/iconsize", QSize(24, 24)).toSize();
this->setIconSize(iconSize);
-
+ importButton->setIconSize(iconSize);
+ fileEncButton->setIconSize(iconSize);
// set list of keyserver if not defined
QStringList *keyServerDefaultList;
keyServerDefaultList = new QStringList("http://pgp.mit.edu");
@@ -912,6 +913,8 @@ void MainWindow::openSettingsDialog()
// Iconsize
QSize iconSize = settings.value("toolbar/iconsize", QSize(32, 32)).toSize();
this->setIconSize(iconSize);
+ importButton->setIconSize(iconSize);
+ fileEncButton->setIconSize(iconSize);
// Iconstyle
Qt::ToolButtonStyle buttonStyle = static_cast<Qt::ToolButtonStyle>(settings.value("toolbar/iconstyle", Qt::ToolButtonTextUnderIcon).toUInt());