2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +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

@@ -1169,7 +1169,7 @@ void ContactsBox::Inner::paintEvent(QPaintEvent *e) {
}
}
void ContactsBox::Inner::enterEvent(QEvent *e) {
void ContactsBox::Inner::enterEventHook(QEvent *e) {
setMouseTracking(true);
}
@@ -1235,7 +1235,7 @@ void ContactsBox::Inner::updateRowWithPeer(PeerData *peer) {
}
}
void ContactsBox::Inner::leaveEvent(QEvent *e) {
void ContactsBox::Inner::leaveEventHook(QEvent *e) {
_mouseSelection = false;
setMouseTracking(false);
if (_selected || _filteredSelected >= 0 || _searchedSelected >= 0) {