Skip to content
Snippets Groups Projects
Commit 715e4281 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

mainwindow: do not call activateWindow on Wayland

It's not supported by wayland and will stop the app

Gitlab: #515
Change-Id: I9f23b781243ec6b85e81121851a531c7e09721b9
parent 5bb2efd5
No related branches found
No related tags found
No related merge requests found
...@@ -253,7 +253,10 @@ void MainWindow::showWindow() ...@@ -253,7 +253,10 @@ void MainWindow::showWindow()
} else { } else {
showNormal(); showNormal();
} }
if (QGuiApplication::platformName() != "wayland") {
activateWindow(); activateWindow();
}
raise(); raise();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment