Commit 715e4281 authored by Sébastien Blin's avatar Sébastien Blin

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
......@@ -253,7 +253,10 @@ void MainWindow::showWindow()
} else {
showNormal();
}
activateWindow();
if (QGuiApplication::platformName() != "wayland") {
activateWindow();
}
raise();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment