Qt: Fix platform icons
This commit is contained in:
parent
54dcd3a89b
commit
13ca98923b
|
@ -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