Update VNC profile dialog hint text for Apple Screen Sharing auth

The username field was already usable for VNC profiles (never hidden
or disabled), but the hint text claimed it was "ignored by most
servers" -- no longer accurate now that Apple's Screen Sharing auth
(security type 30) requires it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-15 21:28:02 -06:00
co-authored by Claude Sonnet 5
parent 1f026dde70
commit df2b1a8d50
+4 -2
View File
@@ -318,8 +318,10 @@ void ProfileDialog::refreshAuthFields()
QStringLiteral("RDP: username and password are required. Domain is optional.")); QStringLiteral("RDP: username and password are required. Domain is optional."));
} else if (isVnc) { } else if (isVnc) {
m_usernameInput->setPlaceholderText(QStringLiteral("optional")); m_usernameInput->setPlaceholderText(QStringLiteral("optional"));
m_protocolHint->setText( m_protocolHint->setText(QStringLiteral(
QStringLiteral("VNC: host and port are required. Username/domain are optional and ignored by most servers.")); "VNC: host and port are required. Username is optional and ignored by most "
"servers, except macOS's built-in Screen Sharing, which requires it. Domain is "
"unused."));
} }
m_folderHint->setText(m_defaultFolderPath.isEmpty() m_folderHint->setText(m_defaultFolderPath.isEmpty()