GUI: proper loading of cppcheck.cfg

This commit is contained in:
Daniel Marjamäki 2022-10-08 17:05:18 +02:00
parent 9f7a725983
commit e35187cf9b
1 changed files with 1 additions and 0 deletions

View File

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