From 30546a8d3978d70b46ee004bbea4f2b82ba0a8e6 Mon Sep 17 00:00:00 2001 From: nils Date: Fri, 9 Apr 2010 20:55:23 +0000 Subject: icon seetings are kept for key management instantly git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@293 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- gpgwin.cpp | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'gpgwin.cpp') 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(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() @@ -559,14 +559,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 */ @@ -580,7 +572,6 @@ void GpgWin::appendSelectedKeys() void GpgWin::fileEncryption() { - new FileEncryptionDialog(mCtx, iconPath); } -- cgit v1.2.3