mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Replace T_WIDGET macro with a template base class.
This commit is contained in:
@@ -168,7 +168,7 @@ void ConfirmBox::mouseReleaseEvent(QMouseEvent *e) {
|
||||
return BoxContent::mouseReleaseEvent(e);
|
||||
}
|
||||
|
||||
void ConfirmBox::leaveEvent(QEvent *e) {
|
||||
void ConfirmBox::leaveEventHook(QEvent *e) {
|
||||
ClickHandler::clearActive(this);
|
||||
}
|
||||
|
||||
@@ -245,7 +245,7 @@ void MaxInviteBox::mousePressEvent(QMouseEvent *e) {
|
||||
}
|
||||
}
|
||||
|
||||
void MaxInviteBox::leaveEvent(QEvent *e) {
|
||||
void MaxInviteBox::leaveEventHook(QEvent *e) {
|
||||
updateSelected(QCursor::pos());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user