mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-27 10:52:16 -04:00
All usages of OBSContextBarProxyStyle were removed in [1], so the class
is completely unused now. It should be deleted.
[1] 8dcfae9a39
16 lines
409 B
C++
16 lines
409 B
C++
#include "OBSProxyStyle.hpp"
|
|
#include "moc_OBSProxyStyle.cpp"
|
|
|
|
int OBSProxyStyle::styleHint(StyleHint hint, const QStyleOption *option, const QWidget *widget,
|
|
QStyleHintReturn *returnData) const
|
|
{
|
|
if (hint == SH_ComboBox_AllowWheelScrolling)
|
|
return 0;
|
|
#ifdef __APPLE__
|
|
if (hint == SH_ComboBox_UseNativePopup)
|
|
return 1;
|
|
#endif
|
|
|
|
return QProxyStyle::styleHint(hint, option, widget, returnData);
|
|
}
|