From d6c30b088631906bce69570553b484262e6d6933 Mon Sep 17 00:00:00 2001 From: Tim Gion Date: Wed, 30 Apr 2014 22:26:39 -0400 Subject: [PATCH] Fixed location of config file on Mac (and probably Windows). --- src/core/Config.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/Config.cpp b/src/core/Config.cpp index c48bc9553..4176408d0 100644 --- a/src/core/Config.cpp +++ b/src/core/Config.cpp @@ -71,7 +71,8 @@ Config::Config(QObject* parent) userPath += "/keepassx/"; #else userPath = QDir::fromNativeSeparators(QDesktopServices::storageLocation(QDesktopServices::DataLocation)); - // storageLocation() appends the application name ("/keepassx/") to the end + // storageLocation() appends the application name ("/keepassx") to the end + userPath += "/"; #endif userPath += "keepassx2.ini";