diff --git a/src/qgtkwindow.cpp b/src/qgtkwindow.cpp index 00cc3fa..d01579f 100644 --- a/src/qgtkwindow.cpp +++ b/src/qgtkwindow.cpp @@ -529,6 +529,7 @@ void QGtkWindow::setWindowState(Qt::WindowStates requestedState) #else void QGtkWindow::setWindowState(Qt::WindowState requestedState) { + const Qt::WindowState state = requestedState; #endif if (state == m_state) {