Change default settings (#839)
* 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 <62221668+Salanto@users.noreply.github.com> Co-authored-by: stonedDiscord <Tukz@gmx.de>
This commit is contained in:
		
							parent
							
								
									dedf6af27a
								
							
						
					
					
						commit
						e29ac843fa
					
				@ -49,7 +49,7 @@ int AOApplication::get_default_suppress_audio()
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
int AOApplication::get_max_log_size()
 | 
					int AOApplication::get_max_log_size()
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  int result = configini->value("log_maximum", 200).toInt();
 | 
					  int result = configini->value("log_maximum", 1000).toInt();
 | 
				
			||||||
  return result;
 | 
					  return result;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -1075,7 +1075,7 @@ bool AOApplication::is_instant_objection_enabled()
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
bool AOApplication::is_desyncrhonized_logs_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");
 | 
					  return result.startsWith("true");
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -1141,13 +1141,13 @@ bool AOApplication::is_sticker_enabled()
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
bool AOApplication::is_continuous_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");
 | 
					  return result.startsWith("true");
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bool AOApplication::is_category_stop_enabled()
 | 
					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");
 | 
					  return result.startsWith("true");
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -1238,7 +1238,7 @@ QString AOApplication::get_subtheme()
 | 
				
			|||||||
bool AOApplication::get_animated_theme()
 | 
					bool AOApplication::get_animated_theme()
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  QString result =
 | 
					  QString result =
 | 
				
			||||||
      configini->value("animated_theme", "true").value<QString>();
 | 
					      configini->value("animated_theme", "false").value<QString>();
 | 
				
			||||||
  return result.startsWith("true");
 | 
					  return result.startsWith("true");
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -1260,12 +1260,12 @@ bool AOApplication::get_player_count_optout()
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
bool AOApplication::get_sfx_on_idle()
 | 
					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");
 | 
					      .startsWith("true");
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bool AOApplication::get_evidence_double_click()
 | 
					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");
 | 
					      .startsWith("true");
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user