diff options
| author | David Faure <[email protected]> | 2019-11-10 14:19:57 +0100 |
|---|---|---|
| committer | David Faure <[email protected]> | 2019-11-10 14:19:57 +0100 |
| commit | 4c81a78bae9ed8f927334f6b1f0475dc9159cba7 (patch) | |
| tree | e221b6e044fa3b5bb798d20dac4de1f16151b98d | |
| parent | fa9bd6bed5e35007c476a950ffe554f796b8846e (diff) | |
| parent | d8f9ca49d333540796713a8842a1bea7622d0444 (diff) | |
Merge remote-tracking branch 'origin/release/19.12'
| -rw-r--r-- | src/dolphinmainwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 17d9901f9..e28b18cd3 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -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()); } |
