Commit 946a5d9a authored by Lorenz Meier's avatar Lorenz Meier

HIL Config: Delete when object is destroyed

parent 3c0c01d6
...@@ -29,6 +29,8 @@ QGCHilConfiguration::QGCHilConfiguration(UAS *mav, QWidget *parent) : ...@@ -29,6 +29,8 @@ QGCHilConfiguration::QGCHilConfiguration(UAS *mav, QWidget *parent) :
} }
settings.endGroup(); settings.endGroup();
connect(mav, SIGNAL(destroyed()), this, SLOT(deleteLater()));
} }
void QGCHilConfiguration::receiveStatusMessage(const QString& message) void QGCHilConfiguration::receiveStatusMessage(const QString& message)
......
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