From e35187cf9b0fa6f6c26b81948680d1e545035da9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 8 Oct 2022 17:05:18 +0200 Subject: [PATCH] GUI: proper loading of cppcheck.cfg --- gui/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 495fd58fe..cb3bdb25d 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -86,6 +86,7 @@ MainWindow::MainWindow(TranslationHandler* th, QSettings* settings) : { { Settings tempSettings; + tempSettings.exename = QCoreApplication::applicationFilePath().toStdString(); tempSettings.loadCppcheckCfg(); mCppcheckCfgProductName = QString::fromStdString(tempSettings.cppcheckCfgProductName); mCppcheckCfgAbout = QString::fromStdString(tempSettings.cppcheckCfgAbout);