Qt: Fix platform icons

This commit is contained in:
spycrab 2017-05-01 13:40:23 +02:00
parent 54dcd3a89b
commit 13ca98923b
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ QVariant GameListModel::data(const QModelIndex& index, int role) const
switch (index.column()) switch (index.column())
{ {
case COL_PLATFORM: case COL_PLATFORM:
return game->GetPlatform(); return static_cast<int>(game->GetPlatformID());
case COL_BANNER: case COL_BANNER:
return game->GetBanner(); return game->GetBanner();
case COL_TITLE: case COL_TITLE: