mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-26 09:21:21 -05:00
Fixed location of config file on Mac (and probably Windows).
This commit is contained in:
parent
e263c475c9
commit
d6c30b0886
@ -71,7 +71,8 @@ Config::Config(QObject* parent)
|
|||||||
userPath += "/keepassx/";
|
userPath += "/keepassx/";
|
||||||
#else
|
#else
|
||||||
userPath = QDir::fromNativeSeparators(QDesktopServices::storageLocation(QDesktopServices::DataLocation));
|
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
|
#endif
|
||||||
|
|
||||||
userPath += "keepassx2.ini";
|
userPath += "keepassx2.ini";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user