diff options
| author | Jonas Schnelli <[email protected]> | 2016-12-05 09:26:43 +0100 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2016-12-05 13:58:00 +0100 |
| commit | 89a3723bdc5d563f036c1a579c3d3539cc8fc6e7 (patch) | |
| tree | 08c295ecb2a409cf536c049e0a33e86b902ee470 /src/qt/modaloverlay.h | |
| parent | Merge #9014: Fix block-connection performance regression (diff) | |
| download | discoin-89a3723bdc5d563f036c1a579c3d3539cc8fc6e7.tar.xz discoin-89a3723bdc5d563f036c1a579c3d3539cc8fc6e7.zip | |
[Qt] Show ModalOverlay by pressing the progress bar, disabled show() in sync mode
Diffstat (limited to 'src/qt/modaloverlay.h')
| -rw-r--r-- | src/qt/modaloverlay.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/modaloverlay.h b/src/qt/modaloverlay.h index 66c0aa78c..70d37b87a 100644 --- a/src/qt/modaloverlay.h +++ b/src/qt/modaloverlay.h @@ -25,9 +25,11 @@ 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() { return layerIsVisible; } protected: bool eventFilter(QObject * obj, QEvent * ev); |