diff --git a/src/ui/QGCToolBar.cc b/src/ui/QGCToolBar.cc index 583c486883f74484ff080db084318185ad4a59ec..681682db8e011ac640c3d029dedad083e9391a95 100644 --- a/src/ui/QGCToolBar.cc +++ b/src/ui/QGCToolBar.cc @@ -101,8 +101,8 @@ QGCToolBar::QGCToolBar(QWidget *parent) : void QGCToolBar::setLogPlayer(QGCMAVLinkLogPlayer* player) { this->player = player; - connect(toggleLoggingAction, SIGNAL(triggered(bool)), this, SLOT(playLogFile(bool))); - connect(logReplayAction, SIGNAL(triggered(bool)), this, SLOT(logging(bool))); + connect(toggleLoggingAction, SIGNAL(triggered(bool)), this, SLOT(logging(bool))); + connect(logReplayAction, SIGNAL(triggered(bool)), this, SLOT(playLogFile(bool))); } void QGCToolBar::playLogFile(bool enabled)