MCPcopy Create free account
hub / github.com/KDE/kdevelop / setCurrent

Method setCurrent

kdevplatform/vcs/models/brancheslistmodel.cpp:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 }
48
49 void setCurrent(bool current)
50 {
51 setData(current, BranchesListModel::CurrentRole);
52 setIcon(current ? QIcon::fromTheme(QStringLiteral("arrow-right")) : QIcon());
53 }
54
55 void setData(const QVariant& value, int role = Qt::UserRole + 1) override
56 {

Callers

nothing calls this directly

Calls 1

QIconClass · 0.50

Tested by

no test coverage detected