Skip to content

Commit 5767ba7

Browse files
committed
GUI: do not use double backslash in filename. See https://sourceforge.net/p/cppcheck/discussion/general/thread/b548fc603b
1 parent d1181ad commit 5767ba7

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

gui/resultstree.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -775,9 +775,6 @@ void ResultsTree::startApplication(QStandardItem *target, int application)
775775
//Replace (file) with filename
776776
QString file = data[FILENAME].toString();
777777
file = QDir::toNativeSeparators(file);
778-
#ifdef Q_OS_WIN
779-
file.replace(QString("\\"), QString("\\\\"));
780-
#endif
781778
qDebug() << "Opening file: " << file;
782779

783780
QFileInfo info(file);

0 commit comments

Comments
 (0)