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

@ -57,7 +57,7 @@ static int get_pte_from_mass(double mass)
static const QString blank(" ");
ImageViewer::ImageViewer(const QString &fileName, LammpsWrapper *_lammps, QWidget *parent) :
QDialog(parent), imageLabel(new QLabel), scrollArea(new QScrollArea), menuBar(new QMenuBar),
QDialog(parent), menuBar(new QMenuBar), imageLabel(new QLabel), scrollArea(new QScrollArea),
lammps(_lammps), group("all"), filename(fileName), useelements(false)
{
imageLabel->setBackgroundRole(QPalette::Base);
@ -348,7 +348,7 @@ void ImageViewer::do_rot_up()
createImage();
}
void ImageViewer::change_group(int idx)
void ImageViewer::change_group(int)
{
QComboBox *box = findChild<QComboBox *>("group");
if (box) group = box->currentText();