mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
DolphinQt: Show WAD as "WAD" instead of "" in file format column
https://bugs.dolphin-emu.org/issues/12190
This commit is contained in:
@ -168,12 +168,7 @@ QVariant GameListModel::data(const QModelIndex& index, int role) const
|
||||
break;
|
||||
case COL_FILE_FORMAT:
|
||||
if (role == Qt::DisplayRole || role == SORT_ROLE)
|
||||
{
|
||||
if (game.ShouldShowFileFormatDetails())
|
||||
return QString::fromStdString(DiscIO::GetName(game.GetBlobType(), true));
|
||||
else
|
||||
return {};
|
||||
}
|
||||
return QString::fromStdString(game.GetFileFormatName());
|
||||
break;
|
||||
case COL_BLOCK_SIZE:
|
||||
if (role == Qt::DisplayRole)
|
||||
|
Reference in New Issue
Block a user