From 9fcdda7b73f806735d4adc9107276e0e64d6b183 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 18 Oct 2015 14:44:16 +0200 Subject: [PATCH] Compile fix for Window name --- src/ui/MainWindow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/MainWindow.cc b/src/ui/MainWindow.cc index 55de34ab8..9361da24f 100644 --- a/src/ui/MainWindow.cc +++ b/src/ui/MainWindow.cc @@ -509,12 +509,12 @@ 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 + bool prevAddr = false; windowname.append(" (" + QHostInfo::localHostName() + ": "); for (int i = 0; i < hostAddresses.size(); i++) { -- 2.22.0