diff --git a/src/wayland/display.cpp b/src/wayland/display.cpp index 46394f417a..3fef02c0c1 100644 --- a/src/wayland/display.cpp +++ b/src/wayland/display.cpp @@ -110,9 +110,7 @@ void Display::terminate() void Display::setRunning(bool running) { - if (m_running == running) { - return; - } + Q_ASSERT(m_running != running); m_running = running; emit runningChanged(m_running); }