diff --git a/rpcs3/rpcs3qt/game_list_context_menu.cpp b/rpcs3/rpcs3qt/game_list_context_menu.cpp index 402286e2f1..e17dc9cdca 100644 --- a/rpcs3/rpcs3qt/game_list_context_menu.cpp +++ b/rpcs3/rpcs3qt/game_list_context_menu.cpp @@ -628,19 +628,10 @@ void game_list_context_menu::show_single_selection_context_menu(const game_info& { check_integrity->setEnabled(false); } - - QAction* download_integrity = addAction(tr("&Download Integrity Database")); - connect(download_integrity, &QAction::triggered, m_game_list_frame, [this] - { - ensure(m_game_list_frame->GetIsoIntegrity())->download(); - }); } } QAction* check_compat = addAction(tr("&Check Game Compatibility")); - QAction* download_compat = addAction(tr("&Download Compatibility Database")); - QAction* download_config_db = addAction(tr("&Download Config Database")); - addSeparator(); // Disk usage @@ -734,14 +725,6 @@ void game_list_context_menu::show_single_selection_context_menu(const game_info& const QString link = "https://rpcs3.net/compatibility?g=" + serial; QDesktopServices::openUrl(QUrl(link)); }); - connect(download_compat, &QAction::triggered, m_game_list_frame, [this] - { - m_game_list_frame->GetGameCompatibility()->RequestCompatibility(true); - }); - connect(download_config_db, &QAction::triggered, m_game_list_frame, [this] - { - m_game_list_frame->GetConfigDatabase()->request_config_database(true); - }); connect(rename_title, &QAction::triggered, m_game_list_frame, [this, name, serial = QString::fromStdString(serial), global_pos] { const QString custom_title = m_persistent_settings->GetValue(gui::persistent::titles, serial, "").toString(); @@ -1001,20 +984,6 @@ void game_list_context_menu::show_multi_selection_context_menu(const std::vector addSeparator(); - QAction* download_compat = addAction(tr("&Download Compatibility Database")); - connect(download_compat, &QAction::triggered, m_game_list_frame, [this] - { - m_game_list_frame->GetGameCompatibility()->RequestCompatibility(true); - }); - - QAction* download_config_db = addAction(tr("&Download Config Database")); - connect(download_config_db, &QAction::triggered, m_game_list_frame, [this] - { - m_game_list_frame->GetConfigDatabase()->request_config_database(true); - }); - - addSeparator(); - // Disk usage QAction* disk_usage = addAction(tr("&Disk Usage")); connect(disk_usage, &QAction::triggered, this, [this]() diff --git a/rpcs3/rpcs3qt/main_window.cpp b/rpcs3/rpcs3qt/main_window.cpp index 3ea7d44508..4f3bd4b467 100644 --- a/rpcs3/rpcs3qt/main_window.cpp +++ b/rpcs3/rpcs3qt/main_window.cpp @@ -3541,6 +3541,21 @@ void main_window::CreateConnects() #endif }); + connect(ui->downloadIntegrityDbAct, &QAction::triggered, this, [this]() + { + ensure(m_game_list_frame->GetIsoIntegrity())->download(); + }); + + connect(ui->downloadCompatDbAct, &QAction::triggered, this, [this]() + { + m_game_list_frame->GetGameCompatibility()->RequestCompatibility(true); + }); + + connect(ui->downloadConfigDbAct, &QAction::triggered, this, [this]() + { + m_game_list_frame->GetConfigDatabase()->request_config_database(true); + }); + connect(ui->welcomeAct, &QAction::triggered, this, [this]() { welcome_dialog* welcome = new welcome_dialog(m_gui_settings, true, this); diff --git a/rpcs3/rpcs3qt/main_window.ui b/rpcs3/rpcs3qt/main_window.ui index 7a7c965ce8..12fc9d8a79 100644 --- a/rpcs3/rpcs3qt/main_window.ui +++ b/rpcs3/rpcs3qt/main_window.ui @@ -315,6 +315,14 @@ + + + Databases + + + + + @@ -328,6 +336,7 @@ + @@ -850,6 +859,21 @@ Check for Updates + + + Download Integrity Database + + + + + Download Compatibility Database + + + + + Download Config Database + + View Welcome Dialog