aboutsummaryrefslogtreecommitdiffstats
path: root/keymgmt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'keymgmt.cpp')
-rwxr-xr-xkeymgmt.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/keymgmt.cpp b/keymgmt.cpp
index 371b27d..45e23fd 100755
--- a/keymgmt.cpp
+++ b/keymgmt.cpp
@@ -39,11 +39,12 @@ KeyMgmt::KeyMgmt(GpgME::Context *ctx, QString iconpath)
createActions();
createMenus();
createToolBars();
+
+ /* Restore the iconstyle */
QSettings settings;
QSize iconSize = settings.value("toolbar/iconsize", QSize(32, 32)).toSize();
Qt::ToolButtonStyle buttonStyle = static_cast<Qt::ToolButtonStyle>(settings.value("toolbar/iconstyle", Qt::ToolButtonTextUnderIcon).toUInt());
-
- setIconSize(iconSize);
+ setIconSize(iconSize);
setToolButtonStyle(buttonStyle);
setWindowTitle(tr("Keymanagement"));