mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
fix: Qt 6.5 deprecation warning (#5552)
This commit is contained in:
parent
23a52fa1c5
commit
040bc8a1ce
1 changed files with 4 additions and 0 deletions
|
@ -1110,7 +1110,11 @@ void MainWindow::toggleWindows(bool do_show)
|
||||||
}
|
}
|
||||||
|
|
||||||
raise();
|
raise();
|
||||||
|
#if QT_VERSION >= QT_VERSION_CHECK(6, 4, 0)
|
||||||
|
this->activateWindow();
|
||||||
|
#else
|
||||||
QApplication::setActiveWindow(this);
|
QApplication::setActiveWindow(this);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue