Browse Source

Fixed unused variable warning in WaypointList.cc

QGC4.4
Bryant Mairs 13 years ago
parent
commit
55ed021ed4
  1. 4
      src/ui/WaypointList.cc

4
src/ui/WaypointList.cc

@ -194,7 +194,7 @@ void WaypointList::loadWaypoints() @@ -194,7 +194,7 @@ void WaypointList::loadWaypoints()
msgBox.setInformativeText("You are using the offline mission editor. Please don't forget to save your mission plan before connecting the UAV, otherwise it will be lost.");
msgBox.setStandardButtons(QMessageBox::Ok);
msgBox.setDefaultButton(QMessageBox::Ok);
int ret = msgBox.exec();
msgBox.exec();
showOfflineWarning = false;
}
QString fileName = QFileDialog::getOpenFileName(this, tr("Load File"), ".", tr("Waypoint File (*.txt)"));
@ -260,7 +260,7 @@ void WaypointList::addEditable() @@ -260,7 +260,7 @@ void WaypointList::addEditable()
msgBox.setInformativeText("You are using the offline mission editor. Please don't forget to save your mission plan before connecting the UAV, otherwise it will be lost.");
msgBox.setStandardButtons(QMessageBox::Ok);
msgBox.setDefaultButton(QMessageBox::Ok);
int ret = msgBox.exec();
msgBox.exec();
showOfflineWarning = false;
}
}

Loading…
Cancel
Save