Commit 9fcdda7b authored by Lorenz Meier's avatar Lorenz Meier

Compile fix for Window name

parent 8287da91
...@@ -509,12 +509,12 @@ void MainWindow::configureWindowName() ...@@ -509,12 +509,12 @@ void MainWindow::configureWindowName()
{ {
QList<QHostAddress> hostAddresses = QNetworkInterface::allAddresses(); QList<QHostAddress> hostAddresses = QNetworkInterface::allAddresses();
QString windowname = qApp->applicationName() + " " + qApp->applicationVersion(); 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 // 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. // 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. // this can go once we are certain its not needed any more.
#if 0 #if 0
bool prevAddr = false;
windowname.append(" (" + QHostInfo::localHostName() + ": "); windowname.append(" (" + QHostInfo::localHostName() + ": ");
for (int i = 0; i < hostAddresses.size(); i++) for (int i = 0; i < hostAddresses.size(); i++)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment