feat: tlsUtility no longer needs AppConfig, tlsUtility takes a parent object

This commit is contained in:
sithlord48
2025-03-06 19:27:29 -05:00
committed by Nick Bolton
parent 5642879a21
commit 4eb7ea3491
6 changed files with 5 additions and 15 deletions

View File

@ -556,7 +556,7 @@ bool CoreProcess::addServerArgs(QStringList &args, QString &app)
// since it's not clear why (it is only needed for the server), this has now
// been moved to server args.
if (Settings::value(Settings::Security::TlsEnabled).toBool()) {
TlsUtility tlsUtility(m_appConfig);
TlsUtility tlsUtility(this);
if (!tlsUtility.persistCertificate()) {
qCritical("failed to persist tls certificate");
return false;