mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 08:48:07 -06:00
committed by
Vladimir Golovnev (Glassez)
parent
2c2252d7d9
commit
786c09e981
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Bittorrent Client using Qt and libtorrent.
|
||||
* Copyright (C) 2015 Vladimir Golovnev <glassez@yandex.ru>
|
||||
* Copyright (C) 2015, 2023 Vladimir Golovnev <glassez@yandex.ru>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
@@ -51,9 +51,10 @@ class WebUI : public QObject, public ApplicationComponent
|
||||
Q_DISABLE_COPY_MOVE(WebUI)
|
||||
|
||||
public:
|
||||
explicit WebUI(IApplication *app);
|
||||
explicit WebUI(IApplication *app, const QByteArray &tempPasswordHash = {});
|
||||
|
||||
bool isErrored() const;
|
||||
QString errorMessage() const;
|
||||
|
||||
signals:
|
||||
void fatalError();
|
||||
@@ -62,8 +63,13 @@ private slots:
|
||||
void configure();
|
||||
|
||||
private:
|
||||
void setError(const QString &message);
|
||||
|
||||
bool m_isErrored = false;
|
||||
QString m_errorMsg;
|
||||
QPointer<Http::Server> m_httpServer;
|
||||
QPointer<Net::DNSUpdater> m_dnsUpdater;
|
||||
QPointer<WebApplication> m_webapp;
|
||||
|
||||
QByteArray m_passwordHash;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user