mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-05 20:34:05 +08:00
Allow selecting Fingerprint Qlabel
Setting the Fingerprint label to TextSelectableByMouse allows users to copy/paste the fingerprint so it can be easily added to "TrustedServers.txt" on a client machine (i.e. via SSH).
This commit is contained in:
@@ -956,6 +956,7 @@ void MainWindow::updateSSLFingerprint()
|
||||
}
|
||||
if (m_AppConfig->getCryptoEnabled() && Fingerprint::local().fileExists()) {
|
||||
m_pLabelLocalFingerprint->setText(Fingerprint::local().readFirst());
|
||||
m_pLabelLocalFingerprint->setTextInteractionFlags(Qt::TextSelectableByMouse);
|
||||
} else {
|
||||
m_pLabelLocalFingerprint->setText("Disabled");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user