From 9aace2ae4b46ab76088aee5df6700bfafe931316 Mon Sep 17 00:00:00 2001 From: Igor Malinovskiy Date: Wed, 5 Aug 2020 11:16:30 +0300 Subject: [PATCH] Add warning about localhost for windows users Fix #4867 --- src/qml/ConnectionSettignsDialog.qml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/qml/ConnectionSettignsDialog.qml b/src/qml/ConnectionSettignsDialog.qml index 08e08b332..902d26efb 100644 --- a/src/qml/ConnectionSettignsDialog.qml +++ b/src/qml/ConnectionSettignsDialog.qml @@ -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 {