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();