aboutsummaryrefslogtreecommitdiffstats
path: root/keylist.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-01-19 22:06:50 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-01-19 22:06:50 +0000
commit48441b291c4dd3290ed0e45aa636e58e0473cf85 (patch)
tree7f55a18bbca4e6f6a6de9112600105184f8de765 /keylist.cpp
parentuse ressource file for all icons and remove iconpath (diff)
downloadgpg4usb-48441b291c4dd3290ed0e45aa636e58e0473cf85.tar.gz
gpg4usb-48441b291c4dd3290ed0e45aa636e58e0473cf85.zip
added file.close for every file.open
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@767 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'keylist.cpp')
-rw-r--r--keylist.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/keylist.cpp b/keylist.cpp
index 791bd0b..3d93433 100644
--- a/keylist.cpp
+++ b/keylist.cpp
@@ -235,6 +235,7 @@ void KeyList::dropEvent(QDropEvent* event)
}
QByteArray inBuffer = file.readAll();
this->importKeys(inBuffer);
+ file.close();
}
} else {
QByteArray inBuffer(event->mimeData()->text().toUtf8());