diff --git a/src/lime_qt/game_list.cpp b/src/lime_qt/game_list.cpp index 498da398c..98456339b 100644 --- a/src/lime_qt/game_list.cpp +++ b/src/lime_qt/game_list.cpp @@ -601,7 +601,6 @@ void GameList::AddGamePopup(QMenu& context_menu, const QString& path, const QStr QAction* uninstall_dlc = uninstall_menu->addAction(tr("DLC")); QAction* remove_play_time_data = context_menu.addAction(tr("Remove Play Time Data")); - QAction* navigate_to_gamedb_entry = context_menu.addAction(tr("Navigate to GameDB entry")); #if !defined(__APPLE__) QMenu* shortcut_menu = context_menu.addMenu(tr("Create Shortcut")); @@ -672,9 +671,6 @@ void GameList::AddGamePopup(QMenu& context_menu, const QString& path, const QStr uninstall_update->setEnabled(has_update); uninstall_dlc->setEnabled(has_dlc); - auto it = FindMatchingCompatibilityEntry(compatibility_list, program_id); - navigate_to_gamedb_entry->setVisible(it != compatibility_list.end()); - connect(favorite, &QAction::triggered, [this, program_id]() { ToggleFavorite(program_id); }); connect(open_save_location, &QAction::triggered, this, [this, program_id] { emit OpenFolderRequested(program_id, GameListOpenTarget::SAVE_DATA); @@ -724,9 +720,6 @@ void GameList::AddGamePopup(QMenu& context_menu, const QString& path, const QStr [this, path, program_id] { emit DumpRomFSRequested(path, program_id); }); connect(remove_play_time_data, &QAction::triggered, [this, program_id]() { emit RemovePlayTimeRequested(program_id); }); - connect(navigate_to_gamedb_entry, &QAction::triggered, this, [this, program_id]() { - emit NavigateToGamedbEntryRequested(program_id, compatibility_list); - }); connect(properties, &QAction::triggered, this, [this, path]() { emit OpenPerGameGeneralRequested(path); }); connect(open_shader_cache_location, &QAction::triggered, this, [this, program_id] { diff --git a/src/lime_qt/game_list.h b/src/lime_qt/game_list.h index 4bc03d96b..10014aa7a 100644 --- a/src/lime_qt/game_list.h +++ b/src/lime_qt/game_list.h @@ -100,8 +100,6 @@ signals: void CreateShortcut(u64 program_id, const std::string& game_path, GameListShortcutTarget target); void RemovePlayTimeRequested(u64 program_id); - void NavigateToGamedbEntryRequested(u64 program_id, - const CompatibilityList& compatibility_list); void OpenPerGameGeneralRequested(const QString file); void DumpRomFSRequested(QString game_path, u64 program_id); void OpenDirectory(const QString& directory); diff --git a/src/lime_qt/main.cpp b/src/lime_qt/main.cpp index f0b0ed97d..eb0914957 100644 --- a/src/lime_qt/main.cpp +++ b/src/lime_qt/main.cpp @@ -838,8 +838,6 @@ void GMainWindow::ConnectWidgetEvents() { connect(game_list, &GameList::OpenFolderRequested, this, &GMainWindow::OnGameListOpenFolder); connect(game_list, &GameList::RemovePlayTimeRequested, this, &GMainWindow::OnGameListRemovePlayTimeData); - connect(game_list, &GameList::NavigateToGamedbEntryRequested, this, - &GMainWindow::OnGameListNavigateToGamedbEntry); connect(game_list, &GameList::CreateShortcut, this, &GMainWindow::OnGameListCreateShortcut); connect(game_list, &GameList::DumpRomFSRequested, this, &GMainWindow::OnGameListDumpRomFS); connect(game_list, &GameList::AddDirectory, this, &GMainWindow::OnGameListAddDirectory); @@ -1709,17 +1707,6 @@ void GMainWindow::OnGameListRemovePlayTimeData(u64 program_id) { game_list->PopulateAsync(UISettings::values.game_dirs); } -void GMainWindow::OnGameListNavigateToGamedbEntry(u64 program_id, - const CompatibilityList& compatibility_list) { - auto it = FindMatchingCompatibilityEntry(compatibility_list, program_id); - - QString directory; - if (it != compatibility_list.end()) - directory = it->second.second; - - QDesktopServices::openUrl(QUrl(QStringLiteral("https://citra-emu.org/game/") + directory)); -} - bool GMainWindow::CreateShortcutLink(const std::filesystem::path& shortcut_path, const std::string& comment, const std::filesystem::path& icon_path, diff --git a/src/lime_qt/main.h b/src/lime_qt/main.h index fb3e1e7dc..b43180702 100644 --- a/src/lime_qt/main.h +++ b/src/lime_qt/main.h @@ -232,8 +232,6 @@ private slots: void OnGameListLoadFile(QString game_path); void OnGameListOpenFolder(u64 program_id, GameListOpenTarget target); void OnGameListRemovePlayTimeData(u64 program_id); - void OnGameListNavigateToGamedbEntry(u64 program_id, - const CompatibilityList& compatibility_list); void OnGameListCreateShortcut(u64 program_id, const std::string& game_path, GameListShortcutTarget target); void OnGameListDumpRomFS(QString game_path, u64 program_id);