mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +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()
|
||||
{
|
||||
KStartupInfo::setNewStartupId(window(), KStartupInfo::startupId());
|
||||
window()->setAttribute(Qt::WA_NativeWindow, true);
|
||||
KStartupInfo::setNewStartupId(window()->windowHandle(), KStartupInfo::startupId());
|
||||
KWindowSystem::activateWindow(window()->effectiveWinId());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue