GUI: Fix selfcheck shadowVariable warning

This commit is contained in:
Daniel Marjamäki 2021-12-15 20:43:25 +01:00
parent ba402f3e50
commit 866aeff1ae
1 changed files with 1 additions and 2 deletions

View File

@ -852,8 +852,7 @@ Settings MainWindow::getCppcheckSettings()
Settings result; Settings result;
const QString applicationFilePath = QCoreApplication::applicationFilePath(); result.exename = QCoreApplication::applicationFilePath().toStdString();
result.exename = applicationFilePath.toStdString();
const bool std = tryLoadLibrary(&result.library, "std.cfg"); const bool std = tryLoadLibrary(&result.library, "std.cfg");
bool posix = true; bool posix = true;