mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Fix WebUI greeting for qbittorrent-nox
* Check if WebUI is enabled and print an appropriate message otherwise. * Print an actual runtime server scheme, address and port. PR #19696.
This commit is contained in:
@@ -181,3 +181,8 @@ void Server::disableHttps()
|
||||
m_certificates.clear();
|
||||
m_key.clear();
|
||||
}
|
||||
|
||||
bool Server::isHttps() const
|
||||
{
|
||||
return m_https;
|
||||
}
|
||||
|
||||
@@ -50,6 +50,7 @@ namespace Http
|
||||
|
||||
bool setupHttps(const QByteArray &certificates, const QByteArray &privateKey);
|
||||
void disableHttps();
|
||||
bool isHttps() const;
|
||||
|
||||
private slots:
|
||||
void dropTimedOutConnection();
|
||||
|
||||
Reference in New Issue
Block a user