Changed waypoint list file format (old files are not compatible anymore!), added file version check, now all waypoint entries should have an entry in the waypoint list file - although qgc does not use/read the orbit_direction and param1 fields. QGC writes the value of orbit into param1 and 0 to orbit_direction (this should and will be changed later!)
MainWindow::instance()->showCriticalMessage(tr("Error loading waypoint file"),tr("The waypoint file is not compatible with the current version of QGroundControl."));
//TODO: Why not replace with waypoint_buffer.clear() ?
//TODO: Why not replace with waypoint_buffer.clear() ? - because this will lead to memory leaks, the waypoint-structs have to be deleted, clear() would only delete the pointers.