From e04a9355ea2983c8985075623ac3a83fa46eeb11 Mon Sep 17 00:00:00 2001 From: Vasily Date: Mon, 11 Mar 2019 11:42:34 +0100 Subject: [PATCH] Move log and settings file to APPDATA/AdvancedSettings-Team Keeping the logfile in a separate folder did not make sense. --- docs/CONTRIBUTING.md | 2 +- src/overlaycontroller.h | 2 +- src/utils/setup.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 9964b68..25f7335 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -21,7 +21,7 @@ For bug reports include what you expect to happen, what happened, version number For improvement requests include what you're expecting to do, why you want the feature this way, the problem that you're solving and any other information that you find relevant. -Include logs if possible. Logs can be found in `%APPDATA%\matzman666\OpenVRAdvancedSettings\AdvancedSettings.log` on Windows. +Include logs if possible. Logs can be found in `%APPDATA%\AdvancedSettings-Team\AdvancedSettings.log` on Windows. ## You want to submit changes diff --git a/src/overlaycontroller.h b/src/overlaycontroller.h index cd1fb1c..75f6fa2 100644 --- a/src/overlaycontroller.h +++ b/src/overlaycontroller.h @@ -42,7 +42,7 @@ namespace application_strings { -constexpr auto applicationOrganizationName = "matzman666"; +constexpr auto applicationOrganizationName = "AdvancedSettings-Team"; constexpr auto applicationName = "OpenVRAdvancedSettings"; constexpr const char* applicationKey = "matzman666.AdvancedSettings"; constexpr const char* applicationDisplayName = "Advanced Settings"; diff --git a/src/utils/setup.cpp b/src/utils/setup.cpp index 8849c57..4d5b4a2 100644 --- a/src/utils/setup.cpp +++ b/src/utils/setup.cpp @@ -274,7 +274,7 @@ void setUpLogging() const auto appDataLocation = std::string( "/" ) + application_strings::applicationOrganizationName - + "/" + application_strings::applicationName; + + "/"; const auto logFilePath = QDir( QStandardPaths::writableLocation( QStandardPaths::AppDataLocation ) + appDataLocation.c_str() )