mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
Fix WebUI error handling
This commit is contained in:
committed by
sledgehammer999
parent
ffa6f7ea34
commit
71bb6538db
@@ -47,14 +47,21 @@ class AbstractWebApplication;
|
||||
class WebUI : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(WebUI)
|
||||
|
||||
public:
|
||||
explicit WebUI(QObject *parent = 0);
|
||||
WebUI();
|
||||
|
||||
bool isErrored() const;
|
||||
|
||||
signals:
|
||||
void fatalError();
|
||||
|
||||
private slots:
|
||||
void init();
|
||||
void configure();
|
||||
|
||||
private:
|
||||
bool m_isErrored;
|
||||
QPointer<Http::Server> m_httpServer;
|
||||
QPointer<Net::DNSUpdater> m_dnsUpdater;
|
||||
QPointer<AbstractWebApplication> m_webapp;
|
||||
|
||||
Reference in New Issue
Block a user