From: Kevin Ottens Date: Mon, 2 Apr 2007 08:48:53 +0000 (+0000) Subject: Fix more URL breakage. X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/351cd615f5b44820666eefe2a8505150bb24dbb3?ds=inline Fix more URL breakage. svn path=/trunk/KDE/kdebase/apps/; revision=649203 --- diff --git a/src/kfileplacesmodel.cpp b/src/kfileplacesmodel.cpp index 9199057bd..38f36bb6f 100644 --- a/src/kfileplacesmodel.cpp +++ b/src/kfileplacesmodel.cpp @@ -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