diff options
| author | Emmanuel Pescosta <[email protected]> | 2014-10-01 12:34:49 +0200 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2014-10-01 12:34:49 +0200 |
| commit | 6a09781a3b99bbca2b2c66ee3041208a02ead0ca (patch) | |
| tree | 1a0f7b311086acee40d82be6a88f2fab6d6bb343 /src/panels | |
| parent | 1d590aa7d50bcf955e3356a09dcaa88e1989aa3a (diff) | |
Ported Dolphin away from KStandardDirs
removed unused mirroredDirectory method
REVIEW: 120194
Diffstat (limited to 'src/panels')
| -rw-r--r-- | src/panels/places/placesitemmodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/panels/places/placesitemmodel.cpp b/src/panels/places/placesitemmodel.cpp index abfe1d62f..aa7f720b4 100644 --- a/src/panels/places/placesitemmodel.cpp +++ b/src/panels/places/placesitemmodel.cpp @@ -33,7 +33,7 @@ #include <QIcon> #include <kprotocolinfo.h> #include <KLocale> -#include <KStandardDirs> +#include <QStandardPaths> #include <KUser> #include <KGlobal> #include "placesitem.h" @@ -87,7 +87,7 @@ PlacesItemModel::PlacesItemModel(QObject* parent) : Baloo::IndexerConfig config; m_fileIndexingEnabled = config.fileIndexingEnabled(); #endif - const QString file = KStandardDirs::locateLocal("data", "kfileplaces/bookmarks.xml"); + const QString file = QStandardPaths::locate(QStandardPaths::GenericDataLocation, "kfileplaces/bookmarks.xml"); m_bookmarkManager = KBookmarkManager::managerForFile(file, "kfilePlaces"); createSystemBookmarks(); |
