on Windows Backslashes in Pathnames must be double quoted, otherwise some editors like e.c. SciTE are not able to open the file.
This commit is contained in:
parent
ef6e381d47
commit
e0c880133c
|
@ -623,6 +623,9 @@ void ResultsTree::StartApplication(QStandardItem *target, int application)
|
|||
//Replace (file) with filename
|
||||
QString file = data["file"].toString();
|
||||
file = QDir::toNativeSeparators(file);
|
||||
#ifdef Q_WS_WIN
|
||||
file.replace(QString("\\"), QString("\\\\"));
|
||||
#endif
|
||||
qDebug() << "Opening file: " << file;
|
||||
|
||||
QFileInfo info(file);
|
||||
|
|
Loading…
Reference in New Issue