diff --git a/src/gui/src/MainWindow.cpp b/src/gui/src/MainWindow.cpp
index b69d15a91a..1768aa7303 100644
--- a/src/gui/src/MainWindow.cpp
+++ b/src/gui/src/MainWindow.cpp
@@ -132,7 +132,7 @@ MainWindow::MainWindow (AppConfig& appConfig,
updateScreenName();
connect(m_AppConfig, SIGNAL(screenNameChanged()), this, SLOT(updateScreenName()));
- m_pLabelIpAddresses->setText(getIPAddresses());
+ m_pLabelIpAddresses->setText(tr("This computers IP addresses: %1").arg(getIPAddresses()));
#if defined(Q_OS_WIN)
// ipc must always be enabled, so that we can disable command when switching to desktop mode.
@@ -1072,7 +1072,7 @@ QString MainWindow::getIPAddresses()
// usually 192.168.x.x is a useful ip for the user, so indicate
// this by making it bold.
if (!hinted && address.isInSubnet(localnet)) {
- QString format = "%1";
+ QString format = "%1";
result.append(format.arg(address.toString()));
hinted = true;
}
@@ -1374,7 +1374,7 @@ void MainWindow::windowStateChanged()
void MainWindow::updateScreenName()
{
- m_pLabelComputerName->setText(tr("This computers name: %1 (Preferences)").arg(appConfig().screenName()));
+ m_pLabelComputerName->setText(tr("This computers name: %1 (Preferences)").arg(appConfig().screenName()));
serverConfig().updateServerName();
}
diff --git a/src/gui/src/MainWindowBase.ui b/src/gui/src/MainWindowBase.ui
index 41861dcc66..3578d7dbd8 100644
--- a/src/gui/src/MainWindowBase.ui
+++ b/src/gui/src/MainWindowBase.ui
@@ -107,62 +107,10 @@
-
-
-
-
- 0
- 0
-
+
+
+ This computers IP addresses:
-
-
- 0
- 20
-
-
-
-
- 0
-
-
- 0
-
-
- 0
-
-
- 0
-
-
- 0
-
-
-
-
-
-
- 0
- 20
-
-
-
-
- 190
- 16777215
-
-
-
- This computers IP addresses:
-
-
-
- -
-
-
-
-
-
-
-
-