forked from qt-creator/qt-creator
Don't annoy Windows users with alien dir separators
This commit is contained in:
@@ -718,7 +718,7 @@ QVariant FlatModel::data(const QModelIndex &index, int role) const
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case Qt::ToolTipRole: {
|
case Qt::ToolTipRole: {
|
||||||
result = node->path();
|
result = QDir::toNativeSeparators(node->path());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case Qt::DecorationRole: {
|
case Qt::DecorationRole: {
|
||||||
|
Reference in New Issue
Block a user