| 1166 | } |
| 1167 | |
| 1168 | void setHotkeyDescriptionHelper(const char *formatModuleText, |
| 1169 | const std::string name, const obs_hotkey_id id) |
| 1170 | { |
| 1171 | #ifndef UNIT_TEST |
| 1172 | QString format{obs_module_text(formatModuleText)}; |
| 1173 | QString hotkeyDesc = format.arg(QString::fromStdString(name)); |
| 1174 | obs_hotkey_set_description(id, hotkeyDesc.toStdString().c_str()); |
| 1175 | #endif // !UNIT_TEST |
| 1176 | } |
| 1177 | |
| 1178 | void Macro::SetHotkeysDesc() const |
| 1179 | { |
no test coverage detected