Allow displaying of the full title in the interface, as well as use the full title in the search filter

This commit is contained in:
vitor-k 2019-09-04 23:15:37 -03:00
parent d6f2bc8c04
commit f9cded05fd
6 changed files with 43 additions and 4 deletions

View file

@ -215,7 +215,7 @@ void GameList::onTextChanged(const QString& newText) {
child->data(GameListItemPath::FullPathRole).toString().toLower();
QString file_name = file_path.mid(file_path.lastIndexOf("/") + 1);
const QString file_title =
child->data(GameListItemPath::TitleRole).toString().toLower();
child->data(GameListItemPath::LongTitleRole).toString().toLower();
const QString file_programmid =
child->data(GameListItemPath::ProgramIdRole).toString().toLower();