| 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 | { |