remove unused class members and silence compiler warnings

This commit is contained in:
Axel Kohlmeyer
2023-09-24 23:08:59 -04:00
parent b2f62bbd1a
commit 29989f102a
9 changed files with 21 additions and 17 deletions

View File

@ -22,8 +22,8 @@
using namespace QtCharts;
ChartWindow::ChartWindow(const QString &_filename, QWidget *parent) :
QWidget(parent), menu(new QMenuBar), file(new QMenu("&File")), active_chart(-1),
filename(_filename)
QWidget(parent), menu(new QMenuBar), file(new QMenu("&File")),
filename(_filename), active_chart(-1)
{
auto *top = new QHBoxLayout;
menu->addMenu(file);
@ -175,7 +175,7 @@ void ChartWindow::exportCsv()
}
}
void ChartWindow::change_chart(int index)
void ChartWindow::change_chart(int)
{
int choice = columns->currentData().toInt();
for (auto &c : charts) {