From 4b988c840af5638cd88e764ca92772cd33cf5a6e Mon Sep 17 00:00:00 2001 From: Robin Burchell Date: Mon, 18 Dec 2017 22:17:27 +0100 Subject: [PATCH] qgtkwindow: Fix compilation on <5.10 --- src/qgtkwindow.cpp | 1 + 1 file changed, 1 insertion(+) 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) {