diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-04-08 20:42:03 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-05-01 15:07:11 +0300 |
commit | 97a6b5e06a532a4ee029c8ba59c3438369f8b049 (patch) | |
tree | 8cf7020fcc86534286aeed0b2adb51136bb3b3a7 /src/qt/overviewpage.h | |
parent | d05f1b278d9846de5142a4ac3f53c84145330dd1 (diff) |
qt: Make OverviewPage aware of runtime palette change
This change fixes the GUI when changing appearance on macOS.
Diffstat (limited to 'src/qt/overviewpage.h')
-rw-r--r-- | src/qt/overviewpage.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/overviewpage.h b/src/qt/overviewpage.h index 5158c81678..755a107a00 100644 --- a/src/qt/overviewpage.h +++ b/src/qt/overviewpage.h @@ -45,6 +45,9 @@ Q_SIGNALS: void transactionClicked(const QModelIndex &index); void outOfSyncWarningClicked(); +protected: + void changeEvent(QEvent* e) override; + private: Ui::OverviewPage *ui; ClientModel *clientModel; @@ -52,6 +55,8 @@ private: interfaces::WalletBalances m_balances; bool m_privacy{false}; + const PlatformStyle* m_platform_style; + TxViewDelegate *txdelegate; std::unique_ptr<TransactionFilterProxy> filter; |