Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace obsolete enum datalocation #10927

Merged
merged 1 commit into from
Oct 1, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
replace obsolete QStandardPaths::DataLocation with QStandardPaths::Ap…
…pLocalDataLocation, which is the same according to Qt docs
  • Loading branch information
m0dB committed Sep 30, 2022
commit c8d2306980f45fe684e045799a6e3cc9b42f8aef
2 changes: 1 addition & 1 deletion src/util/cmdlineargs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ CmdlineArgs::CmdlineArgs()
// TODO(XXX) Trailing slash not needed anymore as we switches from String::append
// to QDir::filePath elsewhere in the code. This is candidate for removal.
m_settingsPath(
QStandardPaths::writableLocation(QStandardPaths::DataLocation)
QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation)
.append("/")) {
#endif
}
Expand Down