Commit 246671c4 authored by Alessandro Portale's avatar Alessandro Portale
Browse files

Don't annoy Windows users with alien dir separators

parent f7ec42a2
......@@ -69,7 +69,7 @@ SaveItemsDialog::SaveItemsDialog(QWidget *parent,
visibleName = info.fileName();
}
QTreeWidgetItem *item = new QTreeWidgetItem(m_ui.treeWidget, QStringList()
<< visibleName << directory);
<< visibleName << QDir::toNativeSeparators(directory));
item->setData(0, Qt::UserRole, qVariantFromValue(file));
}
......
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