diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-03-09 20:30:02 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-09 21:50:36 -0800 |
commit | eb09b79dc58448ca1328f3df833c3166c559ef30 (patch) | |
tree | 31456192f7ed0e17908af8dd1aff36837debcdfc | |
parent | ac7540b16462b10c3d63c9b1a4bd38f3ca5164c7 (diff) | |
download | subsurface-eb09b79dc58448ca1328f3df833c3166c559ef30.tar.gz |
Silence warnings in configuredivecomputerdialog.cpp
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | desktop-widgets/configuredivecomputerdialog.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop-widgets/configuredivecomputerdialog.cpp b/desktop-widgets/configuredivecomputerdialog.cpp index 8df184788..472d27d7c 100644 --- a/desktop-widgets/configuredivecomputerdialog.cpp +++ b/desktop-widgets/configuredivecomputerdialog.cpp @@ -38,6 +38,8 @@ GasSpinBoxItemDelegate::~GasSpinBoxItemDelegate() QWidget *GasSpinBoxItemDelegate::createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const { + Q_UNUSED(option) + Q_UNUSED(index) // Create the spinbox and give it it's settings QSpinBox *sb = new QSpinBox(parent); if (type == PERCENT) { @@ -82,6 +84,8 @@ GasTypeComboBoxItemDelegate::~GasTypeComboBoxItemDelegate() QWidget *GasTypeComboBoxItemDelegate::createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const { + Q_UNUSED(option) + Q_UNUSED(index) // Create the combobox and populate it QComboBox *cb = new QComboBox(parent); cb->addItem(QString("Disabled")); @@ -327,6 +331,7 @@ ConfigureDiveComputerDialog::~ConfigureDiveComputerDialog() void ConfigureDiveComputerDialog::closeEvent(QCloseEvent *event) { + Q_UNUSED(event) dc_close(); QSettings settings; |