From 34bbb94acd774ee848261f6b22a75eedc1bebaa3 Mon Sep 17 00:00:00 2001 From: Richard Stanway Date: Mon, 30 May 2022 22:55:36 +0200 Subject: [PATCH] UI: Use int return type in OBSIgnoreWheelProxyStyle --- UI/obs-proxy-style.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/obs-proxy-style.cpp b/UI/obs-proxy-style.cpp index 05be7a7ee..9b5c4d1e2 100644 --- a/UI/obs-proxy-style.cpp +++ b/UI/obs-proxy-style.cpp @@ -84,7 +84,7 @@ int OBSIgnoreWheelProxyStyle::styleHint(StyleHint hint, { #if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0) if (hint == SH_ComboBox_AllowWheelScrolling) - return false; + return 0; #endif return QProxyStyle::styleHint(hint, option, widget, returnData);