Fix group parents not appearing when disabling inline grouping.
ClosedPublic

Authored by hein on Jan 25 2017, 6:14 PM.

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
hein updated this revision to Diff 10564.Jan 25 2017, 6:14 PM
hein retitled this revision from to Fix group parents not appearing when disabling inline grouping..
hein updated this object.
hein edited the test plan for this revision. (Show Details)
hein added reviewers: Plasma, broulik.
hein added a subscriber: plasma-devel.
Restricted Application added a project: Plasma. · View Herald TranscriptJan 25 2017, 6:14 PM
hein updated this revision to Diff 10565.Jan 25 2017, 6:33 PM

Do it properly and fix the filter instead.

Really asleep at the wheel today ...

you have
flattenGroupsProxyModel = nullptr;

after q->setSourceModel()

so does this actually work when automatic sorting is on?

(which doesn't go through forceResort())

davidedmundson accepted this revision.Jan 25 2017, 6:40 PM
davidedmundson added a reviewer: davidedmundson.
This revision is now accepted and ready to land.Jan 25 2017, 6:40 PM
This revision was automatically updated to reflect the committed changes.