mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-05 16:19:10 +00:00
Use user-places.xbel instead of bookmarks.xml in places model.
REVIEW: 123526 CCBUG: 345174 FIXED-IN: 15.08.0
This commit is contained in:
parent
06f2cd58b8
commit
7550ef0299
|
@ -85,8 +85,8 @@ PlacesItemModel::PlacesItemModel(QObject* parent) :
|
|||
Baloo::IndexerConfig config;
|
||||
m_fileIndexingEnabled = config.fileIndexingEnabled();
|
||||
#endif
|
||||
const QString file = QStandardPaths::locate(QStandardPaths::GenericDataLocation, "kfileplaces/bookmarks.xml");
|
||||
m_bookmarkManager = KBookmarkManager::managerForFile(file, "kfilePlaces");
|
||||
const QString file = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/user-places.xbel";
|
||||
m_bookmarkManager = KBookmarkManager::managerForExternalFile(file);
|
||||
|
||||
createSystemBookmarks();
|
||||
initializeAvailableDevices();
|
||||
|
|
Loading…
Reference in a new issue