forked from qt-creator/qt-creator
Git: Remove unused default value
Change-Id: I2e9354cc675281a5025706d023e92d43c81910f6 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
b45393461a
commit
0f2f2a59d2
@@ -175,7 +175,7 @@ QStringList CommitData::filterFiles(const CommitData::FileState &state) const
|
|||||||
{
|
{
|
||||||
QStringList result;
|
QStringList result;
|
||||||
foreach (const StateFilePair &p, files) {
|
foreach (const StateFilePair &p, files) {
|
||||||
if (state == AllStates || state == p.first)
|
if (state == p.first)
|
||||||
result.append(p.second);
|
result.append(p.second);
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ public:
|
|||||||
|
|
||||||
// Convenience to retrieve the file names from
|
// Convenience to retrieve the file names from
|
||||||
// the specification list. Optionally filter for a certain state
|
// 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);
|
static QString stateDisplayName(const FileState &state);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user