Changed the scraped file display name from upper case to original case.

This commit is contained in:
Leon Styhre 2020-08-02 12:44:33 +02:00
parent d8820c672f
commit 101bdf4bfc
2 changed files with 3 additions and 4 deletions

View file

@ -32,8 +32,8 @@ GuiGameScraper::GuiGameScraper(
// Row 0 is a spacer. // Row 0 is a spacer.
mGameName = std::make_shared<TextComponent>(mWindow, Utils::String::toUpper( mGameName = std::make_shared<TextComponent>(mWindow,
Utils::FileSystem::getFileName(mSearchParams.game->getPath())), Utils::FileSystem::getFileName(mSearchParams.game->getPath()),
Font::get(FONT_SIZE_MEDIUM), 0x777777FF, ALIGN_CENTER); Font::get(FONT_SIZE_MEDIUM), 0x777777FF, ALIGN_CENTER);
mGrid.setEntry(mGameName, Vector2i(0, 1), false, true); mGrid.setEntry(mGameName, Vector2i(0, 1), false, true);

View file

@ -132,8 +132,7 @@ void GuiScraperMulti::doNextSearch()
// Update subtitle. // Update subtitle.
ss.str(""); // Clear. ss.str(""); // Clear.
ss << "GAME " << (mCurrentGame + 1) << " OF " << mTotalGames << " - " << ss << "GAME " << (mCurrentGame + 1) << " OF " << mTotalGames << " - " <<
Utils::String::toUpper(Utils::FileSystem::getFileName( Utils::FileSystem::getFileName(mSearchQueue.front().game->getPath());
mSearchQueue.front().game->getPath()));
mSubtitle->setText(ss.str()); mSubtitle->setText(ss.str());
mSearchComp->search(mSearchQueue.front()); mSearchComp->search(mSearchQueue.front());