Commit 7e990557 authored by Lorenz Meier's avatar Lorenz Meier

Warning fixes

parent 60e50d12
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
MAVLinkDecoder::MAVLinkDecoder(MAVLinkProtocol* protocol, QObject *parent) : MAVLinkDecoder::MAVLinkDecoder(MAVLinkProtocol* protocol, QObject *parent) :
QThread() QThread()
{ {
Q_UNUSED(parent);
// We're doing it wrong - because the Qt folks got the API wrong: // We're doing it wrong - because the Qt folks got the API wrong:
// http://blog.qt.digia.com/blog/2010/06/17/youre-doing-it-wrong/ // http://blog.qt.digia.com/blog/2010/06/17/youre-doing-it-wrong/
moveToThread(this); moveToThread(this);
......
...@@ -38,8 +38,8 @@ ...@@ -38,8 +38,8 @@
WaypointEditableView::WaypointEditableView(Waypoint* wp, QWidget* parent) : WaypointEditableView::WaypointEditableView(Waypoint* wp, QWidget* parent) :
QWidget(parent), QWidget(parent),
viewMode(QGC_WAYPOINTEDITABLEVIEW_MODE_DEFAULT),
wp(wp), wp(wp),
viewMode(QGC_WAYPOINTEDITABLEVIEW_MODE_DEFAULT),
m_ui(new Ui::WaypointEditableView) m_ui(new Ui::WaypointEditableView)
{ {
m_ui->setupUi(this); m_ui->setupUi(this);
......
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