Skip to content

Commit

Permalink
GameList: remove playlists
Browse files Browse the repository at this point in the history
  • Loading branch information
refractionpcsx2 committed Oct 6, 2022
1 parent 90c541d commit 4b652e6
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 15 deletions.
3 changes: 0 additions & 3 deletions pcsx2-qt/GameList/GameListModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down
9 changes: 0 additions & 9 deletions pcsx2-qt/Settings/GameSummaryWidget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
4 changes: 2 additions & 2 deletions pcsx2/Frontend/GameList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)];
}

Expand Down
1 change: 0 additions & 1 deletion pcsx2/Frontend/GameList.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ namespace GameList
PS2Disc,
PS1Disc,
ELF,
Playlist,
Count
};

Expand Down

0 comments on commit 4b652e6

Please sign in to comment.