diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-07-11 12:16:29 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-07-11 12:16:29 +0300 |
commit | e74cd2083d579b14b0b718aa36796f2bcf679600 (patch) | |
tree | b5bc360b4877f6b73b77a826760ed1bf253d18b1 /src | |
parent | ca055885c631de8ac0ffe24be6b02835dbcc039d (diff) | |
download | bitcoin-e74cd2083d579b14b0b718aa36796f2bcf679600.tar.xz |
qt, refactor: Cleanup ModalOverlay slots
Diffstat (limited to 'src')
-rw-r--r-- | src/qt/modaloverlay.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/qt/modaloverlay.h b/src/qt/modaloverlay.h index 1d84046d3d..69542c8518 100644 --- a/src/qt/modaloverlay.h +++ b/src/qt/modaloverlay.h @@ -25,16 +25,17 @@ public: explicit ModalOverlay(bool enable_wallet, QWidget *parent); ~ModalOverlay(); -public Q_SLOTS: void tipUpdate(int count, const QDateTime& blockDate, double nVerificationProgress); void setKnownBestHeight(int count, const QDateTime& blockDate); - void toggleVisibility(); // will show or hide the modal layer void showHide(bool hide = false, bool userRequested = false); - void closeClicked(); bool isLayerVisible() const { return layerIsVisible; } +public Q_SLOTS: + void toggleVisibility(); + void closeClicked(); + protected: bool eventFilter(QObject * obj, QEvent * ev) override; bool event(QEvent* ev) override; |