From 24565bd8edbdb51e26bc797e778cb97398b46699 Mon Sep 17 00:00:00 2001 From: Be Date: Wed, 13 Oct 2021 02:04:45 -0500 Subject: [PATCH] replace deprecated DataLocation with AppDataLocation QStandardPaths::DataLocation was removed in Qt6. --- src/util/versionstore.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/versionstore.cpp b/src/util/versionstore.cpp index 7e255ac13b0a..1bfdb01320d3 100644 --- a/src/util/versionstore.cpp +++ b/src/util/versionstore.cpp @@ -212,8 +212,8 @@ void VersionStore::logBuildDetails() { qDebug() << "QStandardPaths::writableLocation(HomeLocation):" << QStandardPaths::writableLocation(QStandardPaths::HomeLocation); - qDebug() << "QStandardPaths::writableLocation(DataLocation):" - << QStandardPaths::writableLocation(QStandardPaths::DataLocation); + qDebug() << "QStandardPaths::writableLocation(AppDataLocation):" + << QStandardPaths::writableLocation(QStandardPaths::AppDataLocation); qDebug() << "QCoreApplication::applicationDirPath()" << QCoreApplication::applicationDirPath(); }