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:
parent
e7363aaf8e
commit
1ca8695659
1 changed files with 3 additions and 2 deletions
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue