From 6337613488613dfe8b6583efce785bc84f11b9c3 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Thu, 15 Sep 2022 12:40:13 -0400 Subject: Improve theme handling in the settings UI. --- ui/settingsview.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/settingsview.h b/ui/settingsview.h index e193a961..6a9e9f65 100644 --- a/ui/settingsview.h +++ b/ui/settingsview.h @@ -318,6 +318,7 @@ class BINARYNINJAUIAPI SettingsScopeBar : public QWidget BinaryViewScopeLabel* m_resourceLabel; ClickableLabel* m_openProjectLabel; QLabel* m_desc; + unsigned long m_highlightIdx; void setScopeHighlight(unsigned long highlightIdx); @@ -325,6 +326,7 @@ class BINARYNINJAUIAPI SettingsScopeBar : public QWidget SettingsScopeBar(QWidget* parent = nullptr); void refresh(); + void updateTheme(); Q_SIGNALS: void scopeChanged(BinaryViewRef, BNSettingsScope); -- cgit v1.3.1