| 405 | } |
| 406 | |
| 407 | void BaseInstance::registerShortcut(const ShortcutData& data) |
| 408 | { |
| 409 | auto currentShortcuts = shortcuts(); |
| 410 | currentShortcuts.append(data); |
| 411 | qDebug() << "Registering shortcut for instance" << id() << "with name" << data.name << "and path" << data.filePath; |
| 412 | setShortcuts(currentShortcuts); |
| 413 | } |
| 414 | |
| 415 | void BaseInstance::setShortcuts(const QList<ShortcutData>& shortcuts) |
| 416 | { |
no test coverage detected