Fix Krazy code scanning tool warnings (QString, loops, spelling).

This commit is contained in:
Friedemann Kleint
2011-02-25 15:27:13 +01:00
parent 49311aa362
commit 88f333267f
56 changed files with 119 additions and 110 deletions

View File

@@ -325,7 +325,7 @@ void EnvironmentModel::unsetVariable(const QString &name)
int pos = m_d->findInChanges(name);
if (pos != -1) {
m_d->m_items[pos].unset = true;
m_d->m_items[pos].value = QString();
m_d->m_items[pos].value.clear();
m_d->updateResultEnvironment();
emit dataChanged(index(row, 0, QModelIndex()), index(row, 1, QModelIndex()));
emit userChangesChanged();