From 8287da916de68d1d53129e13c2c51c401e072aaa Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 18 Oct 2015 14:07:49 +0200 Subject: [PATCH] Main window: Disable IP display --- src/ui/MainWindow.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ui/MainWindow.cc b/src/ui/MainWindow.cc index ee9307cce..55de34ab8 100644 --- a/src/ui/MainWindow.cc +++ b/src/ui/MainWindow.cc @@ -510,6 +510,11 @@ void MainWindow::configureWindowName() QList hostAddresses = QNetworkInterface::allAddresses(); QString windowname = qApp->applicationName() + " " + qApp->applicationVersion(); bool prevAddr = false; + + // XXX we do have UDP MAVLink heartbeat broadcast now in SITL and will have it on the + // WIFI radio, so people should not be in need any more of knowing their IP. + // this can go once we are certain its not needed any more. + #if 0 windowname.append(" (" + QHostInfo::localHostName() + ": "); for (int i = 0; i < hostAddresses.size(); i++) { @@ -522,6 +527,7 @@ void MainWindow::configureWindowName() } } windowname.append(")"); + #endif setWindowTitle(windowname); } -- 2.22.0