mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
Qt: replace refresh progress slot with timer
For some reason setValue crashes in the progressValueChanged slot for no apparent reason
This commit is contained in:
parent
397c2698ae
commit
0f29a5be9f
3 changed files with 44 additions and 34 deletions
|
|
@ -37,7 +37,7 @@ void progress_dialog::SetRange(int min, int max)
|
|||
{
|
||||
m_progress_indicator->set_range(min, max);
|
||||
|
||||
QProgressDialog::setRange(min, max);
|
||||
setRange(min, max);
|
||||
}
|
||||
|
||||
void progress_dialog::SetValue(int progress)
|
||||
|
|
@ -46,7 +46,7 @@ void progress_dialog::SetValue(int progress)
|
|||
|
||||
m_progress_indicator->set_value(value);
|
||||
|
||||
QProgressDialog::setValue(value);
|
||||
setValue(value);
|
||||
}
|
||||
|
||||
void progress_dialog::SetDeleteOnClose()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue