mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-11 05:03:16 +01:00
[Qt] Show ModalOverlay by pressing the progress bar, disabled show() in sync mode
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user