summaryrefslogtreecommitdiff
path: root/src/plugins/perforce
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2013-01-02 22:19:04 +0200
committerTobias Hunger <tobias.hunger@digia.com>2013-01-07 14:11:10 +0100
commit01084aaa38e3ce413e0d365e13ceaba75c8d7f17 (patch)
treef9a8fe2fe772a85b58ba2f68e7bafbd9619d1d31 /src/plugins/perforce
parent34db64c752a46942f43daf77263e27e124d932b2 (diff)
downloadqt-creator-01084aaa38e3ce413e0d365e13ceaba75c8d7f17.tar.gz
VCS: Use SubmitFileModel in SubmitEditorWidget
Much cleaner Change-Id: I090e5d04e5afae1023fa58eca1ef416ddc069165 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/perforce')
-rw-r--r--src/plugins/perforce/perforcesubmiteditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/perforce/perforcesubmiteditor.cpp b/src/plugins/perforce/perforcesubmiteditor.cpp
index 46dfed2054..50832f12a3 100644
--- a/src/plugins/perforce/perforcesubmiteditor.cpp
+++ b/src/plugins/perforce/perforcesubmiteditor.cpp
@@ -114,7 +114,7 @@ bool PerforceSubmitEditor::parseText(QString text)
void PerforceSubmitEditor::restrictToProjectFiles(const QStringList &knownProjectFiles)
{
- m_fileModel->filter(knownProjectFiles, fileNameColumn());
+ m_fileModel->filterFiles(knownProjectFiles);
}
void PerforceSubmitEditor::updateFields()