fix: ads linux compile warning.

This commit is contained in:
JesseQu 2026-07-15 18:10:35 +08:00
parent a9dc41cf80
commit cd343895f9
1 changed files with 3 additions and 1 deletions

View File

@ -652,7 +652,9 @@ bool CDockManager::eventFilter(QObject *obj, QEvent *e)
} }
if (!window()->isMinimized()) if (!window()->isMinimized())
{ {
QApplication::setActiveWindow(window()); // QApplication::setActiveWindow(window());
window()->activateWindow();
} }
} }
return Super::eventFilter(obj, e); return Super::eventFilter(obj, e);