From c231254a65d390a3350fcef456d57e4a6eca0506 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Fri, 9 Apr 2021 08:28:03 +0300 Subject: qt: Make TransactionView aware of runtime palette change This change fixes the GUI when changing appearance on macOS. --- src/qt/transactionview.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/qt/transactionview.h') diff --git a/src/qt/transactionview.h b/src/qt/transactionview.h index 66350bdc02..3e2321d91b 100644 --- a/src/qt/transactionview.h +++ b/src/qt/transactionview.h @@ -60,6 +60,9 @@ public: MINIMUM_COLUMN_WIDTH = 23 }; +protected: + void changeEvent(QEvent* e) override; + private: WalletModel *model{nullptr}; TransactionFilterProxy *transactionProxyModel{nullptr}; @@ -85,6 +88,8 @@ private: bool eventFilter(QObject *obj, QEvent *event) override; + const PlatformStyle* m_platform_style; + private Q_SLOTS: void contextualMenu(const QPoint &); void dateRangeChanged(); -- cgit v1.2.3