From fee3802e15d706026e1a3e5edfb369dcce2ca0ab Mon Sep 17 00:00:00 2001 From: Christian Kandeler <christian.kandeler@nokia.com> Date: Thu, 14 Oct 2010 14:05:59 +0200 Subject: [PATCH] Maemo: Show native separators in deployment view. Reviewed-by: kh1 --- .../qt4projectmanager/qt-maemo/maemodeployablelistmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qt4projectmanager/qt-maemo/maemodeployablelistmodel.cpp b/src/plugins/qt4projectmanager/qt-maemo/maemodeployablelistmodel.cpp index 8af100e278d..10cb5e38b59 100644 --- a/src/plugins/qt4projectmanager/qt-maemo/maemodeployablelistmodel.cpp +++ b/src/plugins/qt4projectmanager/qt-maemo/maemodeployablelistmodel.cpp @@ -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(); -- GitLab