aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--TODO3
-rwxr-xr-xkeymgmt.cpp1
2 files changed, 2 insertions, 2 deletions
diff --git a/TODO b/TODO
index 0e9414c..ae03808 100644
--- a/TODO
+++ b/TODO
@@ -39,9 +39,8 @@ Release 0.3.2
- import conf from old gpg4usb [DONE]
- only show one import detail dialog, when importing public/private keys [DONE]
- always activate next button
- - add page for succesful import of settings from old gpg4usb (?)
+ - add messagebox for succesful import of settings from old gpg4usb [DONE]
- app is not in the foreground after importing config from older gpg4usb
- - whats about settings, which weren't present in old version (?)
- Update Qt to 4.8 [DONE]
- add Qt language files for Qt locales
- investigate in adding a offline help system [DONE]
diff --git a/keymgmt.cpp b/keymgmt.cpp
index 20d9784..c6bf1f6 100755
--- a/keymgmt.cpp
+++ b/keymgmt.cpp
@@ -169,6 +169,7 @@ void KeyMgmt::importKeyFromFile()
file.setFileName(fileName);
if (!file.open(QIODevice::ReadOnly)) {
qDebug() << tr("Couldn't Open File: ") + fileName;
+ return;
}
QByteArray inBuffer = file.readAll();
importKeys(inBuffer);