mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
DolphinQt: Show WAD as "WAD" instead of "" in file format column
https://bugs.dolphin-emu.org/issues/12190
This commit is contained in:
parent
487cd7abd9
commit
fe5e92f706
3 changed files with 31 additions and 12 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue