Skip to content

Commit e74cd20

Browse files
committed
qt, refactor: Cleanup ModalOverlay slots
1 parent ca05588 commit e74cd20

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/qt/modaloverlay.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,17 @@ class ModalOverlay : public QWidget
2525
explicit ModalOverlay(bool enable_wallet, QWidget *parent);
2626
~ModalOverlay();
2727

28-
public Q_SLOTS:
2928
void tipUpdate(int count, const QDateTime& blockDate, double nVerificationProgress);
3029
void setKnownBestHeight(int count, const QDateTime& blockDate);
3130

32-
void toggleVisibility();
3331
// will show or hide the modal layer
3432
void showHide(bool hide = false, bool userRequested = false);
35-
void closeClicked();
3633
bool isLayerVisible() const { return layerIsVisible; }
3734

35+
public Q_SLOTS:
36+
void toggleVisibility();
37+
void closeClicked();
38+
3839
protected:
3940
bool eventFilter(QObject * obj, QEvent * ev) override;
4041
bool event(QEvent* ev) override;

0 commit comments

Comments
 (0)