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:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user