chore: remove unused TlsUtility::persistCertificate
This commit is contained in:
@ -83,16 +83,4 @@ bool TlsUtility::generateCertificate() const
|
||||
return m_certificate.generateCertificate(certificate, length);
|
||||
}
|
||||
|
||||
bool TlsUtility::persistCertificate() const
|
||||
{
|
||||
qDebug("persisting tls certificate");
|
||||
|
||||
if (QFile::exists(Settings::value(Settings::Security::Certificate).toString())) {
|
||||
qDebug("tls certificate already exists");
|
||||
return true;
|
||||
}
|
||||
|
||||
return generateCertificate();
|
||||
}
|
||||
|
||||
} // namespace deskflow::gui
|
||||
|
||||
@ -22,7 +22,6 @@ public:
|
||||
explicit TlsUtility(QObject *parent = nullptr);
|
||||
|
||||
bool generateCertificate() const;
|
||||
bool persistCertificate() const;
|
||||
|
||||
/**
|
||||
* @brief Checks the settings values Settings::Security::TlsEnabled
|
||||
|
||||
Reference in New Issue
Block a user