summaryrefslogtreecommitdiffstats
path: root/src/widgets/util/qcompleter.cpp
diff options
context:
space:
mode:
authorOliver Eftevaag <[email protected]>2025-05-07 13:40:21 +0200
committerOliver Eftevaag <[email protected]>2025-06-05 02:47:23 +0200
commit4720b592d729982faf85093b7511457b4945cf8d (patch)
treecb4db1855714d07f14eb39499b80998dbb1667bc /src/widgets/util/qcompleter.cpp
parent7f1e6f8079f10ec9f78afec81ec861e06da8e5f5 (diff)
Windowsvista style: Fix hover widget attribute when using contrast themeHEADdev
The windows vista style sets the widget attribute for certain widgets to have the Qt::WA_Hover attribute, which makes the widget eligible for receiving hover events from QApplication::notify(QObject*, QEvent*). However, if the windows system had enabled a high contrast theme, the QWindowsVistaStyle::polish(QWidget*) function would return early, without making any widgets eligible for receiving hover events. Fix the issue by enabling hover events for select controls first, before potentially returning early due to using a contrast theme. Pick-to: 6.10 6.9 6.8 Change-Id: I5562f46385c6f1b498bc659c65e501f9e9376db3 Reviewed-by: Santhosh Kumar <[email protected]>
Diffstat (limited to 'src/widgets/util/qcompleter.cpp')
0 files changed, 0 insertions, 0 deletions