Commit f6867ae8 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

avoid double branch name computation

the checkAndRefreshGit() call later in the
constructor will already handle this
parent 45ddedbd
Pipeline #72775 passed with stage
in 6 minutes and 41 seconds
......@@ -51,7 +51,6 @@ KateProjectView::KateProjectView(KateProjectPluginView *pluginView, KateProject
m_branchBtn->setAutoRaise(true);
m_branchBtn->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
m_branchBtn->setSizePolicy(QSizePolicy::Minimum, m_branchBtn->sizePolicy().verticalPolicy());
m_branchBtn->setText(GitUtils::getCurrentBranchName(m_project->baseDir()));
m_branchBtn->setIcon(QIcon(QStringLiteral(":/icons/icons/sc-apps-git.svg")));
// let tree get focus for keyboard selection of file to open
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment