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);