┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/filterbar
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2013-05-22 18:14:21 +0200
committerFrank Reininghaus <[email protected]>2013-05-22 18:14:38 +0200
commit2f51debbea28973c6c9117a0aae806d41f83b03b (patch)
treeed12dfececa609f87456ebee2c04993100a9e738 /src/filterbar
parente66c3221ce2534c3317489c0d666da20ff14de8f (diff)
Do not reset the 'isExpanded' state when an expanded folder is refreshed
If an item is moved out of an expanded folder, the model receives the dir lister's refreshItems signal for the folder. The method retrieveData() then updates the folder's properties. This commit makes sure that the 'isExpanded' state is not touched by retrieveData(). A side-effect is that the 'isExpanded' role is not initialized to 'false', but this does not matter because trying to read a non-existing role from the QHash<QByteArray, QVariant> yields a default-constructed QVariant, which evaluates to 'false'. BUG: 299675 FIXED-IN: 4.10.4 REVIEW: 110401
Diffstat (limited to 'src/filterbar')
0 files changed, 0 insertions, 0 deletions