mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
Port away from deprecated API in KWindowSystem >= 5.62
This commit is contained in:
parent
fc6ea0e1d9
commit
d8f9ca49d3
|
@ -235,7 +235,8 @@ void DolphinMainWindow::openFiles(const QStringList& files, bool splitView)
|
||||||
|
|
||||||
void DolphinMainWindow::activateWindow()
|
void DolphinMainWindow::activateWindow()
|
||||||
{
|
{
|
||||||
KStartupInfo::setNewStartupId(window(), KStartupInfo::startupId());
|
window()->setAttribute(Qt::WA_NativeWindow, true);
|
||||||
|
KStartupInfo::setNewStartupId(window()->windowHandle(), KStartupInfo::startupId());
|
||||||
KWindowSystem::activateWindow(window()->effectiveWinId());
|
KWindowSystem::activateWindow(window()->effectiveWinId());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue