GUI: Fix separators when opening file to editor.
Ticket: #2916 (Wrong slashes in file path passed to the Windows-text editors)
This commit is contained in:
parent
7dcb68f5a4
commit
79385f0ff8
|
@ -703,6 +703,8 @@ void ResultsTree::StartApplication(QStandardItem *target, int application)
|
|||
|
||||
//Replace (file) with filename
|
||||
QString file = data["file"].toString();
|
||||
file = QDir::toNativeSeparators(file);
|
||||
qDebug() << "Opening file: " << file;
|
||||
|
||||
QFileInfo info(file);
|
||||
if (!info.exists())
|
||||
|
|
Loading…
Reference in New Issue