Skip to content
Permalink
Browse files
Merge pull request #7781 from Tilka/game_desc
DolphinQt: show game descriptions in one line
  • Loading branch information
Tilka committed Feb 4, 2019
2 parents b72b128 + 74c5e60 commit 9729462
Showing 1 changed file with 4 additions and 1 deletion.
@@ -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)

0 comments on commit 9729462

Please sign in to comment.