diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-04-09 08:28:03 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-05-01 15:07:12 +0300 |
commit | c231254a65d390a3350fcef456d57e4a6eca0506 (patch) | |
tree | c3fc0b38bd460b8360784abf193d4606f8fe4d4f /src/qt/transactionview.h | |
parent | 2b622d4aced1848393989ee906b1f9d2436f1c1a (diff) |
qt: Make TransactionView aware of runtime palette change
This change fixes the GUI when changing appearance on macOS.
Diffstat (limited to 'src/qt/transactionview.h')
-rw-r--r-- | src/qt/transactionview.h | 5 |
1 files changed, 5 insertions, 0 deletions
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(); |