Commit bef8ff9d authored by Christian Kandeler's avatar Christian Kandeler

Maemo: Use native path separators in dialog.

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