mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 09:18:40 +12:00
Qt/RSX: reset gs_frame taskbar progr. when closing native progr. dialogs
I forgot that the gs_frame's taskbar progress will stay unchanged due to its persistence, unlike the msgdialog.
This commit is contained in:
parent
4419e5d838
commit
0ffaf6c1ce
5 changed files with 10 additions and 5 deletions
|
@ -417,7 +417,7 @@ wm_event gs_frame::get_default_wm_event() const
|
|||
return (m_user_interaction_active) ? wm_event::geometry_change_in_progress : wm_event::none;
|
||||
}
|
||||
|
||||
void gs_frame::progress_reset()
|
||||
void gs_frame::progress_reset(bool reset_limit)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
if (m_tb_progress)
|
||||
|
@ -427,6 +427,11 @@ void gs_frame::progress_reset()
|
|||
#elif HAVE_QTDBUS
|
||||
UpdateProgress(0);
|
||||
#endif
|
||||
|
||||
if (reset_limit)
|
||||
{
|
||||
progress_set_limit(100);
|
||||
}
|
||||
}
|
||||
|
||||
void gs_frame::progress_increment(int delta)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue