diff --git a/src/qt/modaloverlay.h b/src/qt/modaloverlay.h index 1d84046d3d443..69542c85186cb 100644 --- a/src/qt/modaloverlay.h +++ b/src/qt/modaloverlay.h @@ -25,16 +25,17 @@ class ModalOverlay : public QWidget 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;