diff options
author | John Fultz <jfultz@wolfram.com> | 2023-07-15 21:03:02 -0500 |
---|---|---|
committer | John Fultz <jfultz@wolfram.com> | 2023-07-16 09:02:22 -0500 |
commit | 97b2ebe1b0d2bafb9d870bc9422ee721e08a6657 (patch) | |
tree | cfc30f40da4fcc8ba25db0b7d813bf48c94903a4 /quacker/settings.cpp | |
parent | 07c06961b45eaf6ba0a53bcef8761798a5b55158 (diff) |
QRegEx -> QRegularExpression
I think these changes would still be fine in Qt5, but
are required for Qt6.
Also DataLocation was deprecated in v6, AppLocalDataLocation
is the same for both Qt5 and Qt6.
Diffstat (limited to 'quacker/settings.cpp')
-rw-r--r-- | quacker/settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quacker/settings.cpp b/quacker/settings.cpp index 8442105..41ff9a3 100644 --- a/quacker/settings.cpp +++ b/quacker/settings.cpp @@ -89,7 +89,7 @@ Settings::Settings(QWidget *parent) QMessageBox::critical(0, tr("Error Initializing Data Files - Quacker"), tr("<p>Could not open data directory. Quackle will be useless. Try running the quacker executable with quackle/quacker/ as the current directory.</p>")); m_appDataDir = directory.absolutePath(); } - m_userDataDir = QStandardPaths::writableLocation(QStandardPaths::DataLocation); + m_userDataDir = QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation); QDir qdir(m_userDataDir); qdir.mkpath("lexica"); } |