Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorFelix Geyer <debfx@fobos.de>2012-01-06 23:03:13 +0400
committerFelix Geyer <debfx@fobos.de>2012-01-06 23:03:13 +0400
commit007a901dbae08d8a196d2eff38f15856db27da29 (patch)
tree3b6731e5660879d9219190af0412426e28ea197f /utils
parentfea148803c583351ea309b7b13e5e780033962a2 (diff)
Proper error handling for reading databases.
Diffstat (limited to 'utils')
-rw-r--r--utils/kdbx-extract.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/kdbx-extract.cpp b/utils/kdbx-extract.cpp
index 44abfc4c0..0e3be6920 100644
--- a/utils/kdbx-extract.cpp
+++ b/utils/kdbx-extract.cpp
@@ -57,7 +57,7 @@ int main(int argc, char **argv)
reader.setSaveXml(true);
reader.readDatabase(&dbFile, key);
- if (reader.error()) {
+ if (reader.hasError()) {
qCritical("Error while reading the database.");
return 1;
}