Commit 075f0b06 authored by Daniel Molkentin's avatar Daniel Molkentin
Browse files

Use native dir separators in S60 device preference pane.

parent b1b48c25
......@@ -32,6 +32,7 @@
#include <qt4projectmanager/qt4projectmanagerconstants.h>
#include <QtCore/QDir>
#include <QtDebug>
using namespace Qt4ProjectManager;
......@@ -65,7 +66,8 @@ void S60DevicesWidget::updateDevicesList()
m_ui->list->clear();
foreach (const S60Devices::Device &device, devices) {
QStringList columns;
columns << device.epocRoot << (device.qt.isEmpty()?tr("No Qt installed"):device.qt);
columns << QDir::toNativeSeparators(device.epocRoot)
<< (device.qt.isEmpty()?tr("No Qt installed"):QDir::toNativeSeparators(device.qt));
QTreeWidgetItem *item = new QTreeWidgetItem(columns);
const QString tooltip = device.toHtml();
item->setToolTip(0, tooltip);
......
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