diff options
| author | Jonas Schnelli <[email protected]> | 2016-12-06 13:03:30 +0100 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2016-12-06 13:03:33 +0100 |
| commit | e15660c16f753d7be671526a988e29b88c3fd2da (patch) | |
| tree | c57f4a2e84a03ad7da25d366552e119093abf146 /src/qt/guiutil.cpp | |
| parent | Merge #9274: [qa] Use cached utxo set to fix performance regression (diff) | |
| parent | [Qt] Show ModalOverlay by pressing the progress bar, disabled show() in sync ... (diff) | |
| download | discoin-e15660c16f753d7be671526a988e29b88c3fd2da.tar.xz discoin-e15660c16f753d7be671526a988e29b88c3fd2da.zip | |
Merge #9280: [Qt] Show ModalOverlay by pressing the progress bar, allow hiding
89a3723 [Qt] Show ModalOverlay by pressing the progress bar, disabled show() in sync mode (Jonas Schnelli)
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()); } |