2
0
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:
John Preston
2017-02-11 14:24:37 +03:00
parent 61b55706ae
commit 25583fa813
63 changed files with 256 additions and 258 deletions

View File

@@ -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());
}