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

@@ -225,12 +225,12 @@ void PeerListWidget::contextMenuEvent(QContextMenuEvent *e) {
}
}
void PeerListWidget::enterEvent(QEvent *e) {
void PeerListWidget::enterEventHook(QEvent *e) {
_mousePosition = QCursor::pos();
updateSelection();
}
void PeerListWidget::leaveEvent(QEvent *e) {
void PeerListWidget::leaveEventHook(QEvent *e) {
_mousePosition = QPoint(-1, -1);
updateSelection();
}