aboutsummaryrefslogtreecommitdiffstats
path: root/gpgwin.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2010-04-09 20:55:23 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2010-04-09 20:55:23 +0000
commit30546a8d3978d70b46ee004bbea4f2b82ba0a8e6 (patch)
tree7a8fcf26c31534a4de9ab383f0adb861eb8f3dd3 /gpgwin.cpp
parentadded brasilian translation (diff)
downloadgpg4usb-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 'gpgwin.cpp')
-rw-r--r--gpgwin.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/gpgwin.cpp b/gpgwin.cpp
index 2962e7b..6656fea 100644
--- a/gpgwin.cpp
+++ b/gpgwin.cpp
@@ -58,7 +58,6 @@ GpgWin::GpgWin()
mKeyList->addMenuAction(appendSelectedKeysAct);
restoreSettings();
-
}
void GpgWin::restoreSettings()
@@ -85,9 +84,10 @@ void GpgWin::restoreSettings()
// Iconstyle
Qt::ToolButtonStyle buttonStyle = static_cast<Qt::ToolButtonStyle>(settings.value("toolbar/iconstyle", Qt::ToolButtonTextUnderIcon).toUInt());
this->setToolButtonStyle(buttonStyle);
-
// state sets pos & size of dock-widgets
+ settings.sync();
this->restoreState(settings.value("window/windowState").toByteArray());
+
}
void GpgWin::createActions()
@@ -560,14 +560,6 @@ void GpgWin::importKeyDialog()
}
/**
- * Delete a selected (not checked!) Key(s) from keylist
- */
-/*void GpgWin::deleteSelectedKeys()
-{
- mCtx->deleteKeys(mKeyList->getSelected());
-}*/
-
-/**
* Append the selected (not checked!) Key(s) To Textedit
*/
void GpgWin::appendSelectedKeys()
@@ -580,7 +572,6 @@ void GpgWin::appendSelectedKeys()
void GpgWin::fileEncryption()
{
-
new FileEncryptionDialog(mCtx, iconPath);
}