mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 00:24:47 -07:00
qt 6.5 compatibility (#4796)
* remove metatypes definitions * deprecation of QApplication::setActiveWindow
This commit is contained in:
parent
1a40102f71
commit
421da882d8
7 changed files with 3 additions and 60 deletions
|
|
@ -936,7 +936,7 @@ void MainWindow::iconActivated(QSystemTrayIcon::ActivationReason reason)
|
|||
showMinimized();
|
||||
} else {
|
||||
showNormal();
|
||||
QApplication::setActiveWindow(this);
|
||||
activateWindow();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue