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 972946277c9a4e205b382488ca9360780b911c12
Showing with 4 additions and 1 deletion.
  1. +4 −1 Source/Core/DolphinQt/GameList/GameListModel.cpp
@@ -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.
You can’t perform that action at this time.