Uncategorized tools would no longer be configurable after first run.

Avoid writing empty string prefixed arrays into settings, and some
isNull vs isEmpty confusion (xml reader seems to read null instead of
empty strings in some cases).
This commit is contained in:
con
2011-02-28 12:46:58 +01:00
parent 1e8efe58a7
commit a8928ba191
2 changed files with 16 additions and 5 deletions

View File

@@ -179,8 +179,9 @@ QModelIndex ExternalToolModel::index(int row, int column, const QModelIndex &par
return createIndex(row, 0, items.at(row));
}
}
} else if (column == 0 && row < m_tools.keys().count())
} else if (column == 0 && row < m_tools.keys().count()) {
return createIndex(row, 0);
}
return QModelIndex();
}