MeetingSession: use short product name for AppData location

This commit is contained in:
Filippo Gentile 2021-12-03 19:55:27 +01:00
parent 3f83a581f1
commit 3ecd70c1b1
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@
static const QString AppVersion = QStringLiteral("${PROJECT_VERSION}");
static const QString AppCompany = QStringLiteral("${APP_COMPANY_NAME}");
static const QString AppProduct = QStringLiteral("${APP_PRODUCT_NAME}");
static const QString AppProductShort = QStringLiteral("${MR_TIMETABLE_PLANNER_TARGET}");
static const QString AppDisplayName = QStringLiteral("${APP_DISPLAY_NAME}");
static const QString AppProjectWebSite = QStringLiteral("${PROJECT_HOMEPAGE_URL}");

View File

@ -750,7 +750,7 @@ void MeetingSession::locateAppdata()
appDataPath = QDir::cleanPath(QStringLiteral("%1/%2/%3"))
.arg(QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation))
.arg(AppCompany)
.arg(AppDisplayName);
.arg(AppProductShort);
qDebug() << appDataPath;
}