From 546aa42f561616c3eec34adea4f2359e334bcb29 Mon Sep 17 00:00:00 2001 From: Grieb Date: Mon, 11 May 2015 13:01:38 -0300 Subject: [PATCH] logsdialog.cpp: removes unused function. --- companion/src/logsdialog.cpp | 9 --------- companion/src/logsdialog.h | 1 - 2 files changed, 10 deletions(-) diff --git a/companion/src/logsdialog.cpp b/companion/src/logsdialog.cpp index 0f773a8b8..e6be94bfd 100644 --- a/companion/src/logsdialog.cpp +++ b/companion/src/logsdialog.cpp @@ -418,15 +418,6 @@ void logsDialog::mouseWheel() } } -void logsDialog::removeSelectedGraph() -{ - if (ui->customPlot->selectedGraphs().size() > 0) - { - ui->customPlot->removeGraph(ui->customPlot->selectedGraphs().first()); - ui->customPlot->replot(); - } -} - void logsDialog::removeAllGraphs() { ui->customPlot->clearGraphs(); diff --git a/companion/src/logsdialog.h b/companion/src/logsdialog.h index a92262e4f..062b8736d 100644 --- a/companion/src/logsdialog.h +++ b/companion/src/logsdialog.h @@ -55,7 +55,6 @@ private slots: void selectionChanged(); void mousePress(); void mouseWheel(); - void removeSelectedGraph(); void removeAllGraphs(); void plotLogs(); void on_fileOpen_BT_clicked();