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
int KFilePlacesModel::columnCount(const QModelIndex &parent) const
{
Q_UNUSED(parent)
- // We only know 1 information for a particualiar entry
+ // We only know 1 piece of information for a particular entry
return 1;
}