Browse Source

UI: Use int return type in OBSIgnoreWheelProxyStyle

Richard Stanway 3 năm trước cách đây
mục cha
commit
34bbb94acd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      UI/obs-proxy-style.cpp

+ 1 - 1
UI/obs-proxy-style.cpp

@@ -84,7 +84,7 @@ int OBSIgnoreWheelProxyStyle::styleHint(StyleHint hint,
 {
 {
 #if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
 #if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
 	if (hint == SH_ComboBox_AllowWheelScrolling)
 	if (hint == SH_ComboBox_AllowWheelScrolling)
-		return false;
+		return 0;
 #endif
 #endif
 
 
 	return QProxyStyle::styleHint(hint, option, widget, returnData);
 	return QProxyStyle::styleHint(hint, option, widget, returnData);