From b78479f4cc1d4cec41edcd40f4817db368e4acb0 Mon Sep 17 00:00:00 2001 From: Crystalwarrior Date: Thu, 11 Feb 2021 19:53:47 +0300 Subject: Update the Settings screen - reload theme, restore defaults (#463) * Add a Reload Theme button to the settings screen (works with both lobby and courtroom) * Move all value updates on elements to "update_values" func in the settings screen Add a "restore to defaults" option that allows you to restore all the configuration to its default values. Set up a .temp settings file that allows you to undo the effects of restoring default options. * wtf why didn't this error --- include/courtroom.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/courtroom.h') diff --git a/include/courtroom.h b/include/courtroom.h index 036a60ce..43a0910a 100644 --- a/include/courtroom.h +++ b/include/courtroom.h @@ -801,6 +801,7 @@ public slots: void case_called(QString msg, bool def, bool pro, bool jud, bool jur, bool steno); + void on_reload_theme_clicked(); private slots: void start_chat_ticking(); @@ -911,7 +912,6 @@ private slots: void on_guilty_clicked(); void on_change_character_clicked(); - void on_reload_theme_clicked(); void on_call_mod_clicked(); void on_settings_clicked(); void on_announce_casing_clicked(); -- cgit