qwasmtheme: Enable hover effects by default
Previously hover effects had to be enabled manually due to not being enabled in the platform style. This change enables them by default. Pick-to: 6.4 Fixes: QTBUG-88799 Change-Id: I014e1f5dfcd9b15656f11e12ab75a77d42f4815c Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io> Reviewed-by: Lorn Potter <lorn.potter@gmail.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
parent
9d2cc4dd76
commit
64f86ca03e
@ -26,6 +26,8 @@ QVariant QWasmTheme::themeHint(ThemeHint hint) const
|
||||
{
|
||||
if (hint == QPlatformTheme::StyleNames)
|
||||
return QVariant(QStringList() << "Fusion"_L1);
|
||||
if (hint == QPlatformTheme::UiEffects)
|
||||
return QVariant(int(HoverEffect));
|
||||
return QPlatformTheme::themeHint(hint);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user