https://bugs.kde.org/show_bug.cgi?id=443858

--- Comment #11 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit 0e02f4a552018d65272b34d5bb05fdf8d81372f2 by Fushan Wen.
Committed on 08/01/2022 at 13:48.
Pushed by ngraham into branch 'master'.

Use styleHint to enable opening an item on single click

Connecting both clicked and activated signals causes unnecessary reloading
of KCMs when clicking files or folders is set to open them, and will
crash systemsettings when opening Powerdevil settings.

This commit uses QProxyStyle to set style hint in CategorizedView.
`QStyle::SH_ItemView_ActivateItemOnSingleClick` now always returns 1
regardless of the behavior settings, so an item will always be opened on
single click.

M  +1    -0    icons/CategorizedView.cpp
M  +23   -0    icons/CategorizedView.h
M  +0    -1    icons/IconMode.cpp

https://invent.kde.org/plasma/systemsettings/commit/0e02f4a552018d65272b34d5bb05fdf8d81372f2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to