]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix more URL breakage.
authorKevin Ottens <ervin@kde.org>
Mon, 2 Apr 2007 08:48:53 +0000 (08:48 +0000)
committerKevin Ottens <ervin@kde.org>
Mon, 2 Apr 2007 08:48:53 +0000 (08:48 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=649203

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