diff --git a/src/gui/res/Synergy.qrc b/src/gui/res/Synergy.qrc
index 8f8ac0c8..479b7a05 100644
--- a/src/gui/res/Synergy.qrc
+++ b/src/gui/res/Synergy.qrc
@@ -54,5 +54,6 @@
image/spinning-wheel.gif
icons/16x16/padlock.png
icons/16x16/synergy-transfering.png
+ icons/16x16/auto-config.png
diff --git a/src/gui/res/icons/16x16/auto-config.png b/src/gui/res/icons/16x16/auto-config.png
new file mode 100644
index 00000000..88484f43
Binary files /dev/null and b/src/gui/res/icons/16x16/auto-config.png differ
diff --git a/src/gui/src/MainWindow.cpp b/src/gui/src/MainWindow.cpp
index 1dcbd632..53719220 100644
--- a/src/gui/src/MainWindow.cpp
+++ b/src/gui/src/MainWindow.cpp
@@ -1251,6 +1251,7 @@ void MainWindow::updateAutoConfigWidgets()
m_pLabelServerName->hide();
m_pLineEditHostname->hide();
+ m_pWidgetAutoConfig->hide();
}
else {
m_pLabelServerName->show();
@@ -1258,6 +1259,8 @@ void MainWindow::updateAutoConfigWidgets()
m_pLabelAutoDetected->hide();
m_pComboServerList->hide();
+
+ m_pWidgetAutoConfig->show();
}
}
@@ -1403,3 +1406,8 @@ void MainWindow::secureSocket(bool secureSocket)
m_pLabelPadlock->hide();
}
}
+
+void MainWindow::on_m_pLabelAutoConfig_linkActivated(const QString &)
+{
+ m_pActionSettings->trigger();
+}
diff --git a/src/gui/src/MainWindow.h b/src/gui/src/MainWindow.h
index 4f881073..e267ccf2 100644
--- a/src/gui/src/MainWindow.h
+++ b/src/gui/src/MainWindow.h
@@ -237,6 +237,8 @@ private slots:
void on_m_pButtonApply_clicked();
void on_windowShown();
+ void on_m_pLabelAutoConfig_linkActivated(const QString &link);
+
signals:
void windowShown();
};
diff --git a/src/gui/src/MainWindowBase.ui b/src/gui/src/MainWindowBase.ui
index b4f6bb1c..42f44dd6 100644
--- a/src/gui/src/MainWindowBase.ui
+++ b/src/gui/src/MainWindowBase.ui
@@ -129,6 +129,81 @@
+ -
+
+
+
+ 0
+ 28
+
+
+
+
+ 2
+
+
+ 0
+
+
+ 0
+
+
+ 8
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+
+ 16
+ 20
+
+
+
+
+ 244
+ 16777215
+
+
+
+
+
+
+ :/res/icons/16x16/auto-config.png
+
+
+
+ -
+
+
+ <html><head/><body><p>Manual Config mode active, consider using Auto Config instead (<a href="#"><span style=" text-decoration: underline; color:#007af4;">Settings</span></a>)</p></body></html>
+
+
+ Qt::RichText
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 200
+ 0
+
+
+
+
+
+
+
-
@@ -314,12 +389,24 @@
-
+
+
+ 0
+ 0
+
+
+
+
+ 200
+ 0
+
+
Hostname or IP address of the server computer.
- -
+
-
@@ -329,13 +416,13 @@
- 120
+ 200
0
- -
+
-
Server: