aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2013-02-12 18:39:24 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2013-02-12 18:39:24 +0000
commitc3b2c40e2d93e50083be7642353c6b9626bad72d (patch)
tree609f67917e492a5a23cffd32e58f5f250be98e92
parentadded signals signalRestartNeeded to settingsdialog to handle a needed restart (diff)
downloadgpg4usb-c3b2c40e2d93e50083be7642353c6b9626bad72d.tar.gz
gpg4usb-c3b2c40e2d93e50083be7642353c6b9626bad72d.zip
restart app, if keydb is changed
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@1010 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r--TODO2
-rwxr-xr-xsettingsdialog.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/TODO b/TODO
index 119a1c1..ad63777 100644
--- a/TODO
+++ b/TODO
@@ -20,7 +20,7 @@ Release 0.4
- change docu on file de- and encryption
- add possibility to set alternative relative path to keydb [DONE]
- on startup check, if keydb path exists, if keydb path isn't default
- - add automatic restart, if keydb path changed (check for signal if keydbLabel changed)
+ - add automatic restart, if keydb path changed (check for signal if keydbLabel changed) [DONE]
- add possibility for creation of RSA keys [DONE]
- add posibility to add keyserver in settings [DONE]
- add posibility to remove keyserver in settings [DONE]
diff --git a/settingsdialog.cpp b/settingsdialog.cpp
index c75b40a..a809075 100755
--- a/settingsdialog.cpp
+++ b/settingsdialog.cpp
@@ -721,6 +721,7 @@ QString GpgPathsTab::slotChooseKeydbDir()
accKeydbPath = getRelativePath(defKeydbPath, dir);
keydbLabel->setText(accKeydbPath);
+ emit signalRestartNeeded(true);
return "";
}