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/guiutil.cpp | |
| 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/guiutil.cpp')
| -rw-r--r-- | src/qt/guiutil.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index 4806e4143..3feb781db 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -988,7 +988,12 @@ QString formateNiceTimeOffset(qint64 secs) return timeBehindText; } -void ClickableLabel::mousePressEvent(QMouseEvent *event) +void ClickableLabel::mouseReleaseEvent(QMouseEvent *event) +{ + Q_EMIT clicked(event->pos()); +} + +void ClickableProgressBar::mouseReleaseEvent(QMouseEvent *event) { Q_EMIT clicked(event->pos()); } |