Skip to content
Snippets Groups Projects
Commit bef8ff9d authored by Christian Kandeler's avatar Christian Kandeler
Browse files

Maemo: Use native path separators in dialog.

parent 97a82372
No related merge requests found
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
#include <qt4projectmanager/qt4nodes.h> #include <qt4projectmanager/qt4nodes.h>
#include <QtCore/QDir>
#include <QtGui/QTableWidgetItem> #include <QtGui/QTableWidgetItem>
namespace Qt4ProjectManager { namespace Qt4ProjectManager {
...@@ -54,7 +55,7 @@ MaemoProFilesUpdateDialog::MaemoProFilesUpdateDialog(const QList<MaemoDeployable ...@@ -54,7 +55,7 @@ MaemoProFilesUpdateDialog::MaemoProFilesUpdateDialog(const QList<MaemoDeployable
new QTableWidgetItem(tr("Updateable Project Files"))); new QTableWidgetItem(tr("Updateable Project Files")));
for (int row = 0; row < models.count(); ++row) { for (int row = 0; row < models.count(); ++row) {
QTableWidgetItem *const item QTableWidgetItem *const item
= new QTableWidgetItem(models.at(row)->proFilePath()); = new QTableWidgetItem(QDir::toNativeSeparators(models.at(row)->proFilePath()));
item->setFlags(Qt::ItemIsUserCheckable | Qt::ItemIsEnabled); item->setFlags(Qt::ItemIsUserCheckable | Qt::ItemIsEnabled);
item->setCheckState(Qt::Unchecked); item->setCheckState(Qt::Unchecked);
ui->tableWidget->setItem(row, 0, item); ui->tableWidget->setItem(row, 0, item);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment