forked from qt-creator/qt-creator
Various places: performance-for-range-copy
Change-Id: I475990d32a5211d31a77782667a2dfedba134137 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1198,7 +1198,7 @@ HeobDialog::HeobDialog(QWidget *parent) :
|
||||
|
||||
auto profilesLayout = new QHBoxLayout;
|
||||
m_profilesCombo = new QComboBox;
|
||||
for (auto profile : m_profiles)
|
||||
for (const auto &profile : m_profiles)
|
||||
m_profilesCombo->addItem(settings->value(profile + "/" + heobProfileNameC).toString());
|
||||
if (hasSelProfile) {
|
||||
int selIdx = m_profiles.indexOf(selProfile);
|
||||
|
||||
Reference in New Issue
Block a user