summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/configuredivecomputerdialog.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 20:30:02 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 21:50:36 -0800
commiteb09b79dc58448ca1328f3df833c3166c559ef30 (patch)
tree31456192f7ed0e17908af8dd1aff36837debcdfc /desktop-widgets/configuredivecomputerdialog.cpp
parentac7540b16462b10c3d63c9b1a4bd38f3ca5164c7 (diff)
downloadsubsurface-eb09b79dc58448ca1328f3df833c3166c559ef30.tar.gz
Silence warnings in configuredivecomputerdialog.cpp
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/configuredivecomputerdialog.cpp')
-rw-r--r--desktop-widgets/configuredivecomputerdialog.cpp5
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;