Skip to content

Commit

Permalink
projectfiledialog.cpp: fixed `performance-unnecessary-copy-initializa…
Browse files Browse the repository at this point in the history
…tion` clang-tidy warning
  • Loading branch information
firewave committed Jun 12, 2024
1 parent faa23e6 commit 3cb41b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/projectfiledialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ void ProjectFileDialog::loadFromProjectFile(const ProjectFile *projectFile)
mUI->mBtnSafeClasses->setChecked(projectFile->safeChecks.classes);
setExcludedPaths(projectFile->getExcludedPaths());
setLibraries(projectFile->getLibraries());
const QString platform = projectFile->getPlatform();
const QString& platform = projectFile->getPlatform();
if (platform.endsWith(".xml")) {
int i;
for (i = numberOfBuiltinPlatforms; i < mUI->mComboBoxPlatform->count(); ++i) {
Expand Down

0 comments on commit 3cb41b9

Please sign in to comment.