GUI: do not use double backslash in filename. See https://sourceforge.net/p/cppcheck/discussion/general/thread/b548fc603b
This commit is contained in:
parent
d1181ad8e2
commit
5767ba794a
|
@ -775,9 +775,6 @@ void ResultsTree::startApplication(QStandardItem *target, int application)
|
|||
//Replace (file) with filename
|
||||
QString file = data[FILENAME].toString();
|
||||
file = QDir::toNativeSeparators(file);
|
||||
#ifdef Q_OS_WIN
|
||||
file.replace(QString("\\"), QString("\\\\"));
|
||||
#endif
|
||||
qDebug() << "Opening file: " << file;
|
||||
|
||||
QFileInfo info(file);
|
||||
|
|
Loading…
Reference in New Issue