mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 18:58:36 +12:00
Qt: Add sound if download fails
This commit is contained in:
parent
797b69fe8f
commit
3f55067414
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
#include "progress_dialog.h"
|
#include "progress_dialog.h"
|
||||||
|
|
||||||
#include <QCoreApplication>
|
#include <QApplication>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
@ -86,6 +86,8 @@ void progress_dialog::SignalFailure() const
|
||||||
m_tb_progress->stop();
|
m_tb_progress->stop();
|
||||||
#endif
|
#endif
|
||||||
// TODO: Implement an equivalent for Linux, if possible
|
// TODO: Implement an equivalent for Linux, if possible
|
||||||
|
|
||||||
|
QApplication::beep();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_QTDBUS
|
#ifdef HAVE_QTDBUS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue