Qt: Add sound if download fails

This commit is contained in:
Megamouse 2021-09-29 21:47:04 +02:00
parent 797b69fe8f
commit 3f55067414

View file

@ -1,6 +1,6 @@
#include "progress_dialog.h"
#include <QCoreApplication>
#include <QApplication>
#include <QLabel>
#ifdef _WIN32
@ -86,6 +86,8 @@ void progress_dialog::SignalFailure() const
m_tb_progress->stop();
#endif
// TODO: Implement an equivalent for Linux, if possible
QApplication::beep();
}
#ifdef HAVE_QTDBUS