GCC warning.
This commit is contained in:
parent
a2c7e1efa2
commit
b6ea17d506
|
@ -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 {};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user