Add an Option to hide seasonal icons

This commit is contained in:
Yakov5776 2021-04-05 18:51:44 -04:00
parent 654f1195b3
commit 2f3f4b20a6
3 changed files with 11 additions and 0 deletions

View File

@ -88,6 +88,7 @@ void SettingsDialog::LoadSettings()
settings.guiLoadSaveTabOrder = true;
settings.guiDisableAutoComplete = false;
settings.guiAutoFollowInStack = false;
settings.guiHideSeasonalIcons = false;
//Events tab
GetSettingBool("Events", "SystemBreakpoint", &settings.eventSystemBreakpoint);
@ -381,6 +382,7 @@ void SettingsDialog::LoadSettings()
GetSettingBool("Misc", "QueryProcessCookie", &settings.miscQueryProcessCookie);
GetSettingBool("Misc", "QueryWorkingSet", &settings.miscQueryWorkingSet);
GetSettingBool("Misc", "TransparentExceptionStepping", &settings.miscTransparentExceptionStepping);
GetSettingBool("Misc", "NoSeasons", &settings.guiHideSeasonalIcons);
ui->chkUtf16LogRedirect->setChecked(settings.miscUtf16LogRedirect);
ui->chkUseLocalHelpFile->setChecked(settings.miscUseLocalHelpFile);
ui->chkQueryProcessCookie->setChecked(settings.miscQueryProcessCookie);

View File

@ -105,6 +105,7 @@ private slots:
void on_chkShowExitConfirmation_toggled(bool checked);
void on_chkDisableAutoComplete_toggled(bool checked);
void on_chkAutoFollowInStack_toggled(bool checked);
void on_chkHideSeasonalIcons_toggled(bool checked);
//Misc tab
void on_chkSetJIT_stateChanged(int arg1);
void on_chkConfirmBeforeAtt_stateChanged(int arg1);
@ -236,6 +237,7 @@ private:
bool guiShowExitConfirmation;
bool guiDisableAutoComplete;
bool guiAutoFollowInStack;
bool guiHideSeasonalIcons;
//Misc Tab
bool miscSetJIT;
bool miscSetJITAuto;

View File

@ -881,6 +881,13 @@
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="chkHideSeasonalIcons">
<property name="text">
<string>Hide seasonal icons</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacerGUI">
<property name="orientation">