qt: Fix theming bugs under KDE

This commit is contained in:
Cacodemon345
2022-02-08 15:50:56 +06:00
committed by GitHub
parent 58aca9ebd4
commit 022f5dbdea

View File

@@ -31,6 +31,7 @@ int StyleOverride::styleHint(
void StyleOverride::polish(QWidget* widget)
{
QProxyStyle::polish(widget);
/* Disable title bar context help buttons globally as they are unused. */
if (widget->isWindow())
widget->setWindowFlag(Qt::WindowContextHelpButtonHint, false);