Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

Commit

Permalink
qgtkwindow: Fix compilation on <5.10
Browse files Browse the repository at this point in the history
  • Loading branch information
rburchell committed Dec 18, 2017
1 parent 3cb8e51 commit 4b988c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/qgtkwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4b988c8

Please sign in to comment.