Qt: remove redundant progress dialog code. This already happens in Refresh

This commit is contained in:
Megamouse 2024-03-11 22:08:34 +01:00
parent 0334243a69
commit a73303a047

View file

@ -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();