runconfiguration.h/runsettingspropertiespage.*: code cosmetics

This commit is contained in:
hjk
2011-02-28 12:37:15 +01:00
parent 87423acca8
commit 455e5c8700
3 changed files with 7 additions and 12 deletions

View File

@@ -485,7 +485,6 @@ void RunSettingsWidget::addSubWidget(RunConfigWidget *widget)
void RunSettingsWidget::removeSubWidgets()
{
// foreach does not like commas in types, it's only a macro after all
typedef QPair<RunConfigWidget *, QLabel *> RunConfigItem;
foreach (const RunConfigItem &item, m_subWidgets) {
delete item.first;
delete item.second;