Commit 559f37f8 authored by Tomaz Canabrava's avatar Tomaz Canabrava

Changed QPointer connect to connect directly to it's ->data();

gcc 4.8 seems to have a problem with connections directly
to a QPointer.
also, cleared a unused call wich resulted in error on OSX
Signed-off-by: 's avatarTomaz Canabrava <tomaz.canabrava@intel.com>
parent 6a4204e2
......@@ -262,8 +262,8 @@ void LinechartWidget::createLayout()
timeButton->setToolTip(tr("Overwrite timestamp of data from vehicle with ground receive time. Helps if the plots are not visible because of missing or invalid onboard time."));
timeButton->setWhatsThis(tr("Overwrite timestamp of data from vehicle with ground receive time. Helps if the plots are not visible because of missing or invalid onboard time."));
hlayout->addWidget(timeButton);
connect(timeButton, &QCheckBox::clicked, activePlot, &LinechartPlot::enforceGroundTime);
connect(timeButton, &QCheckBox::clicked, this, &LinechartWidget::writeSettings);
connect(timeButton.data(), &QCheckBox::clicked, activePlot, &LinechartPlot::enforceGroundTime);
connect(timeButton.data(), &QCheckBox::clicked, this, &LinechartWidget::writeSettings);
hlayout->addStretch();
......@@ -615,7 +615,6 @@ void LinechartWidget::addCurve(const QString& curve, const QString& unit)
// Set stretch factors so that the label gets the whole space
plot;
// Load visibility settings
// TODO
......
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