| 164 | } |
| 165 | |
| 166 | QString ShortcutManager::conflictCheck(const QKeySequence& key, |
| 167 | const QString& excludeId) const |
| 168 | { |
| 169 | if (key.isEmpty()) return {}; |
| 170 | for (const auto& a : m_actions) { |
| 171 | if (a.id != excludeId && a.currentKey == key) |
| 172 | return a.displayName; |
| 173 | } |
| 174 | return {}; |
| 175 | } |
| 176 | |
| 177 | QStringList ShortcutManager::categories() |
| 178 | { |