]> cloud.milkyroute.net Git - dolphin.git/commit
Introduce singleton for KFilePlacesModel
authorKai Uwe Broulik <kde@privat.broulik.de>
Mon, 19 Mar 2018 08:57:24 +0000 (09:57 +0100)
committerKai Uwe Broulik <kde@privat.broulik.de>
Mon, 19 Mar 2018 08:57:24 +0000 (09:57 +0100)
commit7cee23157f099837fffc22380b85ac33a2006a49
tree7db6d1f55e74f9d518b94a1147f1cd8699a72ea9
parent6f05c66cc0d2416a21fd8eaff0ec6e7a9161d59c
Introduce singleton for KFilePlacesModel

There are various places where Dolphin created a new KFilePlacesModel which would then query all storage devices and do other expensive work.

Differential Revision: https://phabricator.kde.org/D11283
src/CMakeLists.txt
src/dolphinmainwindow.cpp
src/dolphinplacesmodelsingleton.cpp [new file with mode: 0644]
src/dolphinplacesmodelsingleton.h [new file with mode: 0644]
src/dolphinviewcontainer.cpp
src/panels/places/placesitemmodel.cpp
src/panels/places/placesitemmodel.h