mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-04 20:39:18 +00:00
Qt: remove redundant progress dialog code. This already happens in Refresh
This commit is contained in:
parent
0334243a69
commit
a73303a047
@ -839,18 +839,6 @@ void game_list_frame::OnRefreshFinished()
|
|||||||
m_game_list->restore_layout(m_gui_settings->GetValue(gui::gl_state).toByteArray());
|
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
|
// Emit signal and remove slots
|
||||||
Q_EMIT Refreshed();
|
Q_EMIT Refreshed();
|
||||||
m_refresh_funcs_manage_type.reset();
|
m_refresh_funcs_manage_type.reset();
|
||||||
|
Loading…
Reference in New Issue
Block a user