| 26 | } |
| 27 | |
| 28 | QVariant BinaryToolsModel::data(const QModelIndex &index, int role) const |
| 29 | { |
| 30 | if (auto tool = toolForIndex(index)) |
| 31 | return data(*tool, role); |
| 32 | |
| 33 | bool found; |
| 34 | QString group = groupForIndex(index, &found); |
| 35 | if (found) |
| 36 | return data(group, role); |
| 37 | |
| 38 | return QVariant(); |
| 39 | } |
| 40 | |
| 41 | QVariant BinaryToolsModel::data(const ToolInfo &tool, int role) const |
| 42 | { |
no test coverage detected