From 90ce38da39ba7acf6f7883a86916abcfc7efe23c Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Thu, 26 Mar 2015 12:22:29 +0100 Subject: Vcs: Move handling of settings from VcsBaseClient to VcsBaseClientImpl ... and update users of that functionality accordingly. Unexpected plus: Now every supported VCS actually saves their setting when requested. Change-Id: I02db7b2ce14e5f52d26409b2a01aea290c2a294a Reviewed-by: Orgad Shaneh --- src/plugins/git/branchmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/git/branchmodel.cpp') diff --git a/src/plugins/git/branchmodel.cpp b/src/plugins/git/branchmodel.cpp index b34a4d3453..58fccad188 100644 --- a/src/plugins/git/branchmodel.cpp +++ b/src/plugins/git/branchmodel.cpp @@ -646,7 +646,7 @@ void BranchModel::parseOutputLine(const QString &line) const QString fullName = lineParts.at(1); bool current = (sha == m_currentSha); - bool showTags = m_client->settings()->boolValue(GitSettings::showTagsKey); + bool showTags = m_client->settings().boolValue(GitSettings::showTagsKey); // insert node into tree: QStringList nameParts = fullName.split(QLatin1Char('/')); -- cgit v1.2.1