Maemo: Show native separators in deployment view.

Reviewed-by: kh1
This commit is contained in:
Christian Kandeler
2010-10-14 14:05:59 +02:00
parent af8b262ece
commit fee3802e15

View File

@@ -161,7 +161,7 @@ QVariant MaemoDeployableListModel::data(const QModelIndex &index, int role) cons
const MaemoDeployable &d = deployableAt(index.row());
if (index.column() == 0 && role == Qt::DisplayRole)
return d.localFilePath;
return QDir::toNativeSeparators(d.localFilePath);
if (role == Qt::DisplayRole || role == Qt::EditRole)
return d.remoteDir;
return QVariant();