fixed clang format

This commit is contained in:
Purple
2022-04-11 05:57:31 +06:00
committed by GitHub
parent f51847f2d9
commit 90841b3e8d

View File

@@ -3600,7 +3600,8 @@ void GMainWindow::leaveEvent(QEvent* event) {
qint32 x = qBound(rect.left(), position.x(), rect.right());
qint32 y = qBound(rect.top(), position.y(), rect.bottom());
/* only start the timer if the mouse has left the window bound, the leave event is also triggered when the window looses focus */
// Only start the timer if the mouse has left the window bound.
// The leave event is also triggered when the window looses focus.
if (x != position.x() || y != position.y()) {
mouse_center_timer.start();
}