2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +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

@@ -1088,7 +1088,7 @@ void DialogsInner::updateDialogRow(PeerData *peer, MsgId msgId, QRect updateRect
}
}
void DialogsInner::enterEvent(QEvent *e) {
void DialogsInner::enterEventHook(QEvent *e) {
setMouseTracking(true);
updateSelected();
}
@@ -1131,7 +1131,7 @@ void DialogsInner::updateSelectedRow(PeerData *peer) {
}
}
void DialogsInner::leaveEvent(QEvent *e) {
void DialogsInner::leaveEventHook(QEvent *e) {
setMouseTracking(false);
clearSelection();
}