diff --git a/src/gui/src/MainWindow.cpp b/src/gui/src/MainWindow.cpp
index 81437e9e0a..b69d15a91a 100644
--- a/src/gui/src/MainWindow.cpp
+++ b/src/gui/src/MainWindow.cpp
@@ -130,7 +130,7 @@ MainWindow::MainWindow (AppConfig& appConfig,
m_pWidgetUpdate->hide();
m_VersionChecker.setApp(appPath(appConfig.synergycName()));
- m_pLabelScreenName->setText(appConfig.screenName());
+ updateScreenName();
connect(m_AppConfig, SIGNAL(screenNameChanged()), this, SLOT(updateScreenName()));
m_pLabelIpAddresses->setText(getIPAddresses());
@@ -1351,7 +1351,7 @@ void MainWindow::secureSocket(bool secureSocket)
}
}
-void MainWindow::on_m_pSettingsLink_linkActivated(const QString&)
+void MainWindow::on_m_pLabelComputerName_linkActivated(const QString&)
{
m_pActionSettings->trigger();
}
@@ -1374,7 +1374,7 @@ void MainWindow::windowStateChanged()
void MainWindow::updateScreenName()
{
- m_pLabelScreenName->setText(appConfig().screenName());
+ m_pLabelComputerName->setText(tr("This computers name: %1 (Preferences)").arg(appConfig().screenName()));
serverConfig().updateServerName();
}
diff --git a/src/gui/src/MainWindow.h b/src/gui/src/MainWindow.h
index 7c59a4aeb8..7980d2ef2b 100644
--- a/src/gui/src/MainWindow.h
+++ b/src/gui/src/MainWindow.h
@@ -252,7 +252,7 @@ private slots:
void on_m_pButtonApply_clicked();
void on_windowShown();
- void on_m_pSettingsLink_linkActivated(const QString &link);
+ void on_m_pLabelComputerName_linkActivated(const QString &link);
void on_m_pLabelFingerprint_linkActivated(const QString& link);
void on_m_pComboServerList_currentIndexChanged(const QString &arg1);
diff --git a/src/gui/src/MainWindowBase.ui b/src/gui/src/MainWindowBase.ui
index a407e85a35..41861dcc66 100644
--- a/src/gui/src/MainWindowBase.ui
+++ b/src/gui/src/MainWindowBase.ui
@@ -82,133 +82,28 @@
-
-
-
-
- 0
- 0
-
-
+
- 582
- 15
+ 0
+ 0
- 16777215
- 20
+ 65535
+ 65535
-
-
- 0
-
-
- 0
-
-
- 0
-
-
- 0
-
-
- 0
-
-
-
-
-
-
- 135
- 15
-
-
-
-
- 135
- 20
-
-
-
-
- Arial
- true
-
-
-
- This computers name:
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
-
- 0
- 15
-
-
-
-
- 16777215
- 20
-
-
-
-
- Arial
-
-
-
-
-
-
- Qt::AutoText
-
-
-
- -
-
-
-
- 0
- 15
-
-
-
-
- 16777215
- 20
-
-
-
-
- Arial
- 50
- false
- false
-
-
-
-
-
-
- <html><head/><body><p style="margin-left: 5px;">(<a href="#"><span style=" text-decoration: none; font-size: 13px; color:#007af4;">Preferences</span></a>)</p></body></html>
-
-
- 0
-
-
-
-
+
+
+ Arial
+ true
+
+
+
+ This computers name:
+
-