Skip to content

Commit

Permalink
Add warning about localhost for windows users
Browse files Browse the repository at this point in the history
Fix #4867
  • Loading branch information
uglide committed Aug 5, 2020
1 parent 0aa7feb commit 9aace2a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/qml/ConnectionSettignsDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,16 @@ Dialog {
onPortChanged: if (root.settings) root.settings.port = port
}

BetterLabel {
id: windowsLocalhostWarning
Layout.columnSpan: 2
text: qsTranslate("RDM", "For better network performance please use 127.0.0.1")
visible: !root.sshEnabled && !root.sslEnabled
&& String(connectionAddress.host).toLowerCase() === "localhost"
&& Qt.platform.os == "windows"

}

BetterLabel { text: qsTranslate("RDM","Auth:") }

PasswordInput {
Expand Down

0 comments on commit 9aace2a

Please sign in to comment.