Skip to content

Commit

Permalink
Change default settings (#839)
Browse files Browse the repository at this point in the history
* Make default config enable features for most cases except for Continuous Playback due to it introducing performance issues according to tooltip and confirmed in testing
* Increase log size to 1000
* Default disable animated themes


Co-authored-by: Salanto <[email protected]>
Co-authored-by: stonedDiscord <[email protected]>
  • Loading branch information
3 people authored Sep 6, 2022
1 parent dedf6af commit e29ac84
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/text_file_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ int AOApplication::get_default_suppress_audio()

int AOApplication::get_max_log_size()
{
int result = configini->value("log_maximum", 200).toInt();
int result = configini->value("log_maximum", 1000).toInt();
return result;
}

Expand Down Expand Up @@ -1075,7 +1075,7 @@ bool AOApplication::is_instant_objection_enabled()

bool AOApplication::is_desyncrhonized_logs_enabled()
{
QString result = configini->value("desync_logs", "false").value<QString>();
QString result = configini->value("desync_logs", "true").value<QString>();
return result.startsWith("true");
}

Expand Down Expand Up @@ -1141,13 +1141,13 @@ bool AOApplication::is_sticker_enabled()

bool AOApplication::is_continuous_enabled()
{
QString result = configini->value("continuous_playback", "true").value<QString>();
QString result = configini->value("continuous_playback", "false").value<QString>();
return result.startsWith("true");
}

bool AOApplication::is_category_stop_enabled()
{
QString result = configini->value("category_stop", "true").value<QString>();
QString result = configini->value("category_stop", "false").value<QString>();
return result.startsWith("true");
}

Expand Down Expand Up @@ -1238,7 +1238,7 @@ QString AOApplication::get_subtheme()
bool AOApplication::get_animated_theme()
{
QString result =
configini->value("animated_theme", "true").value<QString>();
configini->value("animated_theme", "false").value<QString>();
return result.startsWith("true");
}

Expand All @@ -1260,12 +1260,12 @@ bool AOApplication::get_player_count_optout()

bool AOApplication::get_sfx_on_idle()
{
return configini->value("sfx_on_idle", "false").value<QString>()
return configini->value("sfx_on_idle", "true").value<QString>()
.startsWith("true");
}

bool AOApplication::get_evidence_double_click()
{
return configini->value("evidence_double_click", "true").value<QString>()
return configini->value("evidence_double_click", "false").value<QString>()
.startsWith("true");
}

0 comments on commit e29ac84

Please sign in to comment.