summaryrefslogtreecommitdiff
path: root/vcl/qt5/Qt5Graphics_Controls.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/qt5/Qt5Graphics_Controls.cxx')
-rw-r--r--vcl/qt5/Qt5Graphics_Controls.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/qt5/Qt5Graphics_Controls.cxx b/vcl/qt5/Qt5Graphics_Controls.cxx
index 18be768c04c0..d98cdafe0137 100644
--- a/vcl/qt5/Qt5Graphics_Controls.cxx
+++ b/vcl/qt5/Qt5Graphics_Controls.cxx
@@ -36,7 +36,8 @@
@param nControlState State of the widget (default, focused, ...) in Native Widget Framework.
@param aValue Value held by the widget (on, off, ...)
*/
-QStyle::State vclStateValue2StateFlag(ControlState nControlState, const ImplControlValue& aValue)
+static QStyle::State vclStateValue2StateFlag(ControlState nControlState,
+ const ImplControlValue& aValue)
{
QStyle::State nState
= ((nControlState & ControlState::ENABLED) ? QStyle::State_Enabled : QStyle::State_None)