]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/kfileplacesmodel.cpp
Introduce KFilePlacesView which is a list view adding the navigation
[dolphin.git] / src / kfileplacesmodel.cpp
index 9199057bde405c11f8a8f31aa259447ab5d03bd0..38f36bb6f4eed296ce2fa274810a97e2f8439965 100644 (file)
@@ -81,7 +81,7 @@ KFilePlacesModel::~KFilePlacesModel()
 
 KUrl KFilePlacesModel::url(const QModelIndex &index) const
 {
-    return KUrl(data(index, UrlRole).toString());
+    return KUrl(data(index, UrlRole).toUrl());
 }
 
 bool KFilePlacesModel::mountNeeded(const QModelIndex &index) const