forked from qt-creator/qt-creator
Core: IVersionControl: Introduce a setTopicCache
More flexible than passing in the constructor. Change-Id: I7bb5b3fe02682e01ebbce246de547686ff871920 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -62,9 +62,10 @@ private:
|
||||
};
|
||||
|
||||
GitVersionControl::GitVersionControl(GitClient *client) :
|
||||
Core::IVersionControl(new GitTopicCache(client)),
|
||||
m_client(client)
|
||||
{ }
|
||||
{
|
||||
setTopicCache(new GitTopicCache(client));
|
||||
}
|
||||
|
||||
QString GitVersionControl::displayName() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user