]> cloud.milkyroute.net Git - dolphin.git/commit
Fix PlacesItemModel loading with hidden devices
authorRenato Araujo Oliveira Filho <renato.araujo@kdab.com>
Wed, 20 Dec 2017 18:26:35 +0000 (15:26 -0300)
committerRenato Araujo Oliveira Filho <renato.araujo@kdab.com>
Mon, 8 Jan 2018 11:52:38 +0000 (08:52 -0300)
commit94b2b2a2dbd3b861f74277b273ab268f28e8678a
tree332e483d1b6a16ee4ff85bc17c98afad8a10e960
parenta6ed2e7b6b6499c32f47d484f8deb47c505cddbc
Fix PlacesItemModel loading with hidden devices

Summary:
Make sure that hidden devices loaded after module initialization does
not appear in the view.
Check for item visibility before add it on the model.

Test Plan: Unit test created

Reviewers: franckarrecot

Reviewed By: franckarrecot

Subscribers: cfeck, ervin, #dolphin

Differential Revision: https://phabricator.kde.org/D9441
src/panels/places/placesitemmodel.cpp
src/tests/placesitemmodeltest.cpp