Skip to content
Commit 40f9cfd5 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[KItemListView] Check if KItemListStyleOption actually changed before emitting a change

This avoids work being done when it doesn't need to be.
For instance, the preview generator waits for everything to have settled using a 200ms timer before generating a preview.
This timer fired also in response to onStyleOptionChanged and needlessly delayed preview generation when navigating between folders
despite the style option (e.g. icon size, view mode) not having changed.

Differential Revision: https://phabricator.kde.org/D11481
parent 49e03155
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment