mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-27 18:10:31 -05:00
Fixed location of config file on Mac (and probably Windows).
This commit is contained in:
parent
e263c475c9
commit
d6c30b0886
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue