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:
@@ -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.
|
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>
|
<a name="patch"></a>
|
||||||
## You want to submit changes
|
## You want to submit changes
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
namespace application_strings
|
namespace application_strings
|
||||||
{
|
{
|
||||||
constexpr auto applicationOrganizationName = "matzman666";
|
constexpr auto applicationOrganizationName = "AdvancedSettings-Team";
|
||||||
constexpr auto applicationName = "OpenVRAdvancedSettings";
|
constexpr auto applicationName = "OpenVRAdvancedSettings";
|
||||||
constexpr const char* applicationKey = "matzman666.AdvancedSettings";
|
constexpr const char* applicationKey = "matzman666.AdvancedSettings";
|
||||||
constexpr const char* applicationDisplayName = "Advanced Settings";
|
constexpr const char* applicationDisplayName = "Advanced Settings";
|
||||||
|
|||||||
+1
-1
@@ -274,7 +274,7 @@ void setUpLogging()
|
|||||||
|
|
||||||
const auto appDataLocation
|
const auto appDataLocation
|
||||||
= std::string( "/" ) + application_strings::applicationOrganizationName
|
= std::string( "/" ) + application_strings::applicationOrganizationName
|
||||||
+ "/" + application_strings::applicationName;
|
+ "/";
|
||||||
const auto logFilePath = QDir( QStandardPaths::writableLocation(
|
const auto logFilePath = QDir( QStandardPaths::writableLocation(
|
||||||
QStandardPaths::AppDataLocation )
|
QStandardPaths::AppDataLocation )
|
||||||
+ appDataLocation.c_str() )
|
+ appDataLocation.c_str() )
|
||||||
|
|||||||
Reference in New Issue
Block a user