GameList: remove playlists

This commit is contained in:
refractionpcsx2 2022-10-06 21:57:03 +01:00
parent 90c541d117
commit 4b652e6878
4 changed files with 2 additions and 15 deletions

View File

@ -517,9 +517,6 @@ QIcon GameListModel::getIconForType(GameList::EntryType type)
case GameList::EntryType::PS1Disc:
return QIcon(QStringLiteral(":/icons/media-optical-24.png"));
case GameList::EntryType::Playlist:
return QIcon(QStringLiteral(":/icons/address-book-new-22.png"));
case GameList::EntryType::ELF:
default:
return QIcon(QStringLiteral(":/icons/applications-system-24.png"));

View File

@ -130,15 +130,6 @@
<normaloff>:/icons/applications-system-24.png</normaloff>:/icons/applications-system-24.png</iconset>
</property>
</item>
<item>
<property name="text">
<string>Playlist</string>
</property>
<property name="icon">
<iconset resource="../resources/resources.qrc">
<normaloff>:/icons/address-book-new-22.png</normaloff>:/icons/address-book-new-22.png</iconset>
</property>
</item>
</widget>
</item>
<item row="5" column="0">

View File

@ -84,13 +84,13 @@ bool GameList::IsGameListLoaded()
const char* GameList::EntryTypeToString(EntryType type)
{
static std::array<const char*, static_cast<int>(EntryType::Count)> names = {{"PS2Disc", "PS1Disc", "ELF", "Playlist"}};
static std::array<const char*, static_cast<int>(EntryType::Count)> names = {{"PS2Disc", "PS1Disc", "ELF"}};
return names[static_cast<int>(type)];
}
const char* GameList::EntryTypeToDisplayString(EntryType type)
{
static std::array<const char*, static_cast<int>(EntryType::Count)> names = {{"PS2 Disc", "PS1 Disc", "ELF", "Playlist"}};
static std::array<const char*, static_cast<int>(EntryType::Count)> names = {{"PS2 Disc", "PS1 Disc", "ELF"}};
return names[static_cast<int>(type)];
}

View File

@ -37,7 +37,6 @@ namespace GameList
PS2Disc,
PS1Disc,
ELF,
Playlist,
Count
};