GCC warning.

This commit is contained in:
Roman Telezhynskyi 2023-10-23 18:23:54 +03:00
parent a2c7e1efa2
commit b6ea17d506

View File

@ -184,6 +184,8 @@ auto VAbstractShortcutManager::ShortcutActionToString(VShortcutAction type) -> Q
case VShortcutAction::LAST_ONE_DO_NOT_USE:
Q_UNREACHABLE();
break;
default:
break;
};
return {};
}
@ -268,6 +270,8 @@ auto VAbstractShortcutManager::ReadableName(VShortcutAction type) -> QString
case VShortcutAction::LAST_ONE_DO_NOT_USE:
Q_UNREACHABLE(); //-V501
break;
default:
break;
};
return {};
}