forked from qt-creator/qt-creator
Git: Hide obsolete branches by default in branches dialog
Task-number: QTCREATORBUG-15544 Change-Id: I411c7eacd2c154cad08234c0bd22e16dfecb961c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
de127b1f5c
commit
5834769cbf
@@ -79,6 +79,7 @@ public:
|
||||
bool branchIsMerged(const QModelIndex &idx);
|
||||
QModelIndex addBranch(const QString &name, bool track, const QModelIndex &trackedBranch);
|
||||
void setRemoteTracking(const QModelIndex &trackingIndex);
|
||||
void setOldBranchesIncluded(bool value);
|
||||
|
||||
private:
|
||||
void parseOutputLine(const QString &line);
|
||||
@@ -94,6 +95,7 @@ private:
|
||||
BranchNode *m_rootNode;
|
||||
BranchNode *m_currentBranch = nullptr;
|
||||
QString m_currentSha;
|
||||
bool m_oldBranchesIncluded = false;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user