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

we require KF 5.83 due to kcoreaddons_add_plugin

parent a3b3981c
Pipeline #115392 passed with stage
in 7 minutes and 6 seconds
......@@ -61,12 +61,7 @@ BranchDeleteDialog::BranchDeleteDialog(const QString &dotGitPath, QWidget *paren
void BranchDeleteDialog::loadBranches(const QString &dotGitPath)
{
#if KTEXTEDITOR_VERSION >= QT_VERSION_CHECK(5, 80, 0)
QFont f = KTextEditor::Editor::instance()->font();
#else
QFont f = QFontDatabase::systemFont(QFontDatabase::FixedFont);
#endif
const auto f = KTextEditor::Editor::instance()->font();
static const auto branchIcon = QIcon::fromTheme(QStringLiteral("vcs-branch"));
const auto branches = GitUtils::getAllLocalBranchesWithLastCommitSubject(dotGitPath);
for (const auto &branch : branches) {
......
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