Skip to content

Commit 9aace2a

Browse files
committed
Add warning about localhost for windows users
Fix #4867
1 parent 0aa7feb commit 9aace2a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/qml/ConnectionSettignsDialog.qml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,16 @@ Dialog {
187187
onPortChanged: if (root.settings) root.settings.port = port
188188
}
189189

190+
BetterLabel {
191+
id: windowsLocalhostWarning
192+
Layout.columnSpan: 2
193+
text: qsTranslate("RDM", "For better network performance please use 127.0.0.1")
194+
visible: !root.sshEnabled && !root.sslEnabled
195+
&& String(connectionAddress.host).toLowerCase() === "localhost"
196+
&& Qt.platform.os == "windows"
197+
198+
}
199+
190200
BetterLabel { text: qsTranslate("RDM","Auth:") }
191201

192202
PasswordInput {

0 commit comments

Comments
 (0)