Set the application name and version in QApplication.

This commit is contained in:
Felix Geyer
2014-01-18 15:31:24 +01:00
parent c2781274a0
commit 678c4a8ece
2 changed files with 7 additions and 3 deletions

View File

@@ -71,7 +71,7 @@ Config::Config(QObject* parent)
userPath += "/keepassx/";
#else
userPath = QDir::fromNativeSeparators(QDesktopServices::storageLocation(QDesktopServices::DataLocation));
userPath += "/keepassx/";
// storageLocation() appends the application name ("/keepassx/") to the end
#endif
userPath += "keepassx2.ini";