mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Merge pull request #7781 from Tilka/game_desc
DolphinQt: show game descriptions in one line
This commit is contained in:
commit
972946277c
@ -123,7 +123,10 @@ QVariant GameListModel::data(const QModelIndex& index, int role) const
|
||||
break;
|
||||
case COL_DESCRIPTION:
|
||||
if (role == Qt::DisplayRole || role == Qt::InitialSortOrderRole)
|
||||
return QString::fromStdString(game.GetDescription());
|
||||
{
|
||||
return QString::fromStdString(game.GetDescription())
|
||||
.replace(QLatin1Char('\n'), QLatin1Char(' '));
|
||||
}
|
||||
break;
|
||||
case COL_MAKER:
|
||||
if (role == Qt::DisplayRole || role == Qt::InitialSortOrderRole)
|
||||
|
Loading…
Reference in New Issue
Block a user