Commit 500eeea9 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

cmakebuilder: port foreach -> range-based for

parent 16d54aa7
......@@ -38,8 +38,10 @@ CMakeBuilderPreferences::CMakeBuilderPreferences(KDevelop::IPlugin* plugin, QWid
m_prefsUi->kcfg_cmakeExecutable->setToolTip(CMakeBuilderSettings::self()->cmakeExecutableItem()->whatsThis());
m_prefsUi->label1->setToolTip(CMakeBuilderSettings::self()->cmakeExecutableItem()->whatsThis());
foreach(const QString& generator, CMake::supportedGenerators())
const auto generators = CMake::supportedGenerators();
for (const QString& generator : generators) {
m_prefsUi->kcfg_generator->addItem(generator);
}
}
CMakeBuilderPreferences::~CMakeBuilderPreferences()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment