Skip to content
Snippets Groups Projects
Commit 0f2f2a59 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Git: Remove unused default value


Change-Id: I2e9354cc675281a5025706d023e92d43c81910f6
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent b4539346
No related branches found
No related tags found
No related merge requests found
......@@ -175,7 +175,7 @@ QStringList CommitData::filterFiles(const CommitData::FileState &state) const
{
QStringList result;
foreach (const StateFilePair &p, files) {
if (state == AllStates || state == p.first)
if (state == p.first)
result.append(p.second);
}
return result;
......
......@@ -99,7 +99,7 @@ public:
// Convenience to retrieve the file names from
// the specification list. Optionally filter for a certain state
QStringList filterFiles(const FileState &state = AllStates) const;
QStringList filterFiles(const FileState &state) const;
static QString stateDisplayName(const FileState &state);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment