Move log and settings file to APPDATA/AdvancedSettings-Team

Keeping the logfile in a separate folder did not make sense.
This commit is contained in:
Vasily
2019-03-11 11:44:14 +01:00
parent 783e8093bd
commit e04a9355ea
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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.
<a name="patch"></a>
## You want to submit changes
+1 -1
View File
@@ -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";
+1 -1
View File
@@ -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() )