mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-19 16:05:45 -04:00
GameList: Use string_view for GetEntryForPath()
This commit is contained in:
@ -140,7 +140,7 @@ void GameSummaryWidget::populateUi(const std::string& path, const std::string& s
|
||||
|
||||
{
|
||||
auto lock = GameList::GetLock();
|
||||
const GameList::Entry* gentry = GameList::GetEntryForPath(path.c_str());
|
||||
const GameList::Entry* gentry = GameList::GetEntryForPath(path);
|
||||
if (gentry)
|
||||
m_ui.entryType->setCurrentIndex(static_cast<int>(gentry->type));
|
||||
}
|
||||
|
Reference in New Issue
Block a user