Commit 62ef4af3 authored by Donald Gagne's avatar Donald Gagne

Update for QGCToolbox signature change

parent cbf1f9b4
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
#include "GPSManager.h" #include "GPSManager.h"
#include <QDebug> #include <QDebug>
GPSManager::GPSManager(QGCApplication* app) GPSManager::GPSManager(QGCApplication* app, QGCToolbox* toolbox)
: QGCTool(app) : QGCTool(app, toolbox)
{ {
qRegisterMetaType<GPSPositionMessage>(); qRegisterMetaType<GPSPositionMessage>();
qRegisterMetaType<GPSSatelliteMessage>(); qRegisterMetaType<GPSSatelliteMessage>();
......
...@@ -25,7 +25,7 @@ class GPSManager : public QGCTool ...@@ -25,7 +25,7 @@ class GPSManager : public QGCTool
{ {
Q_OBJECT Q_OBJECT
public: public:
GPSManager(QGCApplication* app); GPSManager(QGCApplication* app, QGCToolbox* toolbox);
~GPSManager(); ~GPSManager();
void connectGPS(const QString& device); void connectGPS(const QString& device);
......
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