From a73303a0477445b86267f7ddfeffee5b8ff967ed Mon Sep 17 00:00:00 2001 From: Megamouse Date: Mon, 11 Mar 2024 22:08:34 +0100 Subject: [PATCH] Qt: remove redundant progress dialog code. This already happens in Refresh --- rpcs3/rpcs3qt/game_list_frame.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/rpcs3/rpcs3qt/game_list_frame.cpp b/rpcs3/rpcs3qt/game_list_frame.cpp index 5fb6de57db..13c1b92a42 100644 --- a/rpcs3/rpcs3qt/game_list_frame.cpp +++ b/rpcs3/rpcs3qt/game_list_frame.cpp @@ -839,18 +839,6 @@ void game_list_frame::OnRefreshFinished() m_game_list->restore_layout(m_gui_settings->GetValue(gui::gl_state).toByteArray()); } - if (m_progress_dialog_timer) - { - m_progress_dialog_timer->stop(); - } - - if (m_progress_dialog) - { - m_progress_dialog->SetValue(m_progress_dialog->maximum()); - m_progress_dialog->accept(); - m_progress_dialog = nullptr; - } - // Emit signal and remove slots Q_EMIT Refreshed(); m_refresh_funcs_manage_type.reset();