Merge pull request #5352 from spycrab/qt_gamelist_icons
Qt: Fix platform icons
This commit is contained in:
commit
86a8a3f656
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue