mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-04 14:42:29 -06:00
Fix WebUI error handling
This commit is contained in:
committed by
sledgehammer999
parent
96ce8690b6
commit
0e738b534c
@@ -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