forked from qt-creator/qt-creator
Maemo: Show native separators in deployment view.
Reviewed-by: kh1
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user