Fixed location of config file on Mac (and probably Windows).

This commit is contained in:
Tim Gion 2014-04-30 22:26:39 -04:00
parent e263c475c9
commit d6c30b0886

View File

@ -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";