We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
performance-unnecessary-copy-initialization
1 parent 86a2e0c commit 9618787Copy full SHA for 9618787
gui/projectfiledialog.cpp
@@ -322,7 +322,7 @@ void ProjectFileDialog::loadFromProjectFile(const ProjectFile *projectFile)
322
mUI->mBtnSafeClasses->setChecked(projectFile->safeChecks.classes);
323
setExcludedPaths(projectFile->getExcludedPaths());
324
setLibraries(projectFile->getLibraries());
325
- const QString platform = projectFile->getPlatform();
+ const QString& platform = projectFile->getPlatform();
326
if (platform.endsWith(".xml")) {
327
int i;
328
for (i = numberOfBuiltinPlatforms; i < mUI->mComboBoxPlatform->count(); ++i) {
0 commit comments