mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
parent
972af5552d
commit
3abfaed452
@ -594,6 +594,16 @@ void NetworkManager::addLocalCertificate(const QSslCertificate &cert)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void NetworkManager::setIgnoreAllWarnings(bool state)
|
||||||
|
{
|
||||||
|
m_ignoreAllWarnings = state;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool NetworkManager::isIgnoringAllWarnings()
|
||||||
|
{
|
||||||
|
return m_ignoreAllWarnings;
|
||||||
|
}
|
||||||
|
|
||||||
NetworkProxyFactory* NetworkManager::proxyFactory() const
|
NetworkProxyFactory* NetworkManager::proxyFactory() const
|
||||||
{
|
{
|
||||||
return m_proxyFactory;
|
return m_proxyFactory;
|
||||||
|
@ -49,8 +49,8 @@ public:
|
|||||||
void setCertificatePaths(const QStringList &paths) { m_certPaths = paths; }
|
void setCertificatePaths(const QStringList &paths) { m_certPaths = paths; }
|
||||||
QStringList certificatePaths() { return m_certPaths; }
|
QStringList certificatePaths() { return m_certPaths; }
|
||||||
|
|
||||||
void setIgnoreAllWarnings(bool state) { m_ignoreAllWarnings = state; }
|
void setIgnoreAllWarnings(bool state);
|
||||||
bool isIgnoringAllWarnings() { return m_ignoreAllWarnings; }
|
bool isIgnoringAllWarnings();
|
||||||
|
|
||||||
NetworkProxyFactory* proxyFactory() const;
|
NetworkProxyFactory* proxyFactory() const;
|
||||||
|
|
||||||
|
@ -201,6 +201,7 @@ void SSLManager::closeEvent(QCloseEvent* e)
|
|||||||
}
|
}
|
||||||
|
|
||||||
mApp->networkManager()->setCertificatePaths(paths);
|
mApp->networkManager()->setCertificatePaths(paths);
|
||||||
|
mApp->networkManager()->saveCertificates();
|
||||||
|
|
||||||
QWidget::closeEvent(e);
|
QWidget::closeEvent(e);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user