mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-20 00:35:41 -04:00
Misc: Remove StringUtil::{Starts,Ends}With, use C++20
This commit is contained in:
@ -462,7 +462,7 @@ std::optional<u32> InputManager::ConvertHostKeyboardStringToCode(const std::stri
|
||||
{
|
||||
std::string_view compare_name = str;
|
||||
u32 modifier_bits = 0;
|
||||
if (StringUtil::StartsWith(compare_name, "Numpad"))
|
||||
if (compare_name.starts_with("Numpad"))
|
||||
{
|
||||
compare_name = compare_name.substr(6);
|
||||
modifier_bits |= Qt::KeypadModifier;
|
||||
|
Reference in New Issue
Block a user