mirror of https://github.com/PCSX2/pcsx2.git
GameList: remove playlists
This commit is contained in:
parent
90c541d117
commit
4b652e6878
|
@ -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"));
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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)];
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,6 @@ namespace GameList
|
|||
PS2Disc,
|
||||
PS1Disc,
|
||||
ELF,
|
||||
Playlist,
|
||||
Count
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue