mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
Qt: properly hide and show progress indicator
This was previously always shown, since we never really re-used the progress dialogs.
This commit is contained in:
parent
281f248d91
commit
5745862fa8
4 changed files with 43 additions and 10 deletions
|
|
@ -46,6 +46,13 @@ void progress_indicator::show(QWindow* window)
|
|||
#endif
|
||||
}
|
||||
|
||||
void progress_indicator::hide()
|
||||
{
|
||||
#ifdef HAS_QT_WIN_STUFF
|
||||
m_tb_button->progress()->hide();
|
||||
#endif
|
||||
}
|
||||
|
||||
int progress_indicator::value() const
|
||||
{
|
||||
#ifdef HAS_QT_WIN_STUFF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue