Fix not beeing able to commit file deletions with creators git plugin

Reviewed-By: mauricek
This commit is contained in:
dt
2009-06-10 17:43:46 +02:00
parent 97aa789829
commit 8ef7ad0b62
5 changed files with 15 additions and 8 deletions

View File

@@ -63,11 +63,10 @@ GitSubmitEditorWidget *GitSubmitEditor::submitEditorWidget()
// Utility to add a list of state/file pairs to the model
// setting a file type.
static void addStateFileListToModel(const QList<CommitData::StateFilePair> &l,
static void addStateFileListToModel(const QList<CommitData::StateFilePair> &l,
bool checked, FileType ft,
VCSBase::SubmitFileModel *model)
{
typedef QList<CommitData::StateFilePair>::const_iterator ConstIterator;
if (!l.empty()) {
const ConstIterator cend = l.constEnd();