diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-12-05 09:26:43 +0100 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-12-05 13:58:00 +0100 |
commit | 89a3723bdc5d563f036c1a579c3d3539cc8fc6e7 (patch) | |
tree | 08c295ecb2a409cf536c049e0a33e86b902ee470 /src/qt/guiutil.cpp | |
parent | d04aebaec7bbf4095bd4f6a715eb6ee834857115 (diff) |
[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 4806e41439..3feb781db5 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()); } |