Skip to content
Permalink
Browse files

DolphinQt: show game descriptions in one line

  • Loading branch information...
Tilka committed Feb 3, 2019
1 parent b72b128 commit 74c5e60327c2a15b816275eb4b7b60d66c10573d
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 74c5e60

Please sign in to comment.
You can’t perform that action at this time.