fix: Read fingerprint data before applying the initial config to prevent the fingerprint from being empty making the button hidden

fixes: #9483
This commit is contained in:
sithlord48
2026-02-17 08:44:20 -05:00
committed by Nick Bolton
parent e7363aaf8e
commit 1ca8695659

View File

@ -141,8 +141,6 @@ MainWindow::MainWindow()
connectSlots();
setupTrayIcon();
updateScreenName();
applyConfig();
restoreWindow();
qDebug().noquote() << "active settings path:" << Settings::settingsPath();
@ -161,6 +159,9 @@ MainWindow::MainWindow()
m_fingerprint = {QCryptographicHash::Sha256, TlsUtility::certFingerprint()};
}
}
applyConfig();
restoreWindow();
}
MainWindow::~MainWindow()
{