From 5767ba794a0ce6a35b4c798da85e6c17ec84e409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 25 Sep 2021 16:30:45 +0200 Subject: [PATCH] GUI: do not use double backslash in filename. See https://sourceforge.net/p/cppcheck/discussion/general/thread/b548fc603b --- gui/resultstree.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/gui/resultstree.cpp b/gui/resultstree.cpp index 43f36f45c..fe205e7e2 100644 --- a/gui/resultstree.cpp +++ b/gui/resultstree.cpp @@ -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);