aboutsummaryrefslogtreecommitdiffstats
path: root/keylist.cpp
diff options
context:
space:
mode:
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());