diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-04-09 20:55:23 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-04-09 20:55:23 +0000 |
commit | 30546a8d3978d70b46ee004bbea4f2b82ba0a8e6 (patch) | |
tree | 7a8fcf26c31534a4de9ab383f0adb861eb8f3dd3 /keymgmt.cpp | |
parent | added brasilian translation (diff) | |
download | gpg4usb-30546a8d3978d70b46ee004bbea4f2b82ba0a8e6.tar.gz gpg4usb-30546a8d3978d70b46ee004bbea4f2b82ba0a8e6.zip |
icon seetings are kept for key management instantly
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@293 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'keymgmt.cpp')
-rwxr-xr-x | keymgmt.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/keymgmt.cpp b/keymgmt.cpp index 45e23fd..f4a33fb 100755 --- a/keymgmt.cpp +++ b/keymgmt.cpp @@ -42,10 +42,11 @@ KeyMgmt::KeyMgmt(GpgME::Context *ctx, QString iconpath) /* Restore the iconstyle */ QSettings settings; + settings.sync(); 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); - setToolButtonStyle(buttonStyle); + this->setIconSize(iconSize); + this->setToolButtonStyle(buttonStyle); setWindowTitle(tr("Keymanagement")); mKeyList->addMenuAction(deleteSelectedKeysAct); |