summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 20:21:46 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 21:50:27 -0800
commita670181ed22b7fc5c5d132842949002063c32ca7 (patch)
treeb717d3ca5815eaec2647c6e7c7ef7aebe74b13ab /desktop-widgets
parentee7b9dcd09a8e325449a5601ea963d81a1437ce9 (diff)
downloadsubsurface-a670181ed22b7fc5c5d132842949002063c32ca7.tar.gz
Silence warnings in simplewidgets.cpp
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/simplewidgets.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop-widgets/simplewidgets.cpp b/desktop-widgets/simplewidgets.cpp
index c3c7072ca..6d46a49c7 100644
--- a/desktop-widgets/simplewidgets.cpp
+++ b/desktop-widgets/simplewidgets.cpp
@@ -67,6 +67,7 @@ double MinMaxAvgWidget::minimum() const
MinMaxAvgWidget::MinMaxAvgWidget(QWidget *parent) : d(new MinMaxAvgWidgetPrivate(this))
{
+ Q_UNUSED(parent)
}
MinMaxAvgWidget::~MinMaxAvgWidget()
@@ -243,6 +244,7 @@ void ShiftTimesDialog::buttonClicked(QAbstractButton *button)
void ShiftTimesDialog::showEvent(QShowEvent *event)
{
+ Q_UNUSED(event)
ui.timeEdit->setTime(QTime(0, 0, 0, 0));
when = get_times(); //get time of first selected dive
ui.currentTime->setText(get_dive_date_string(when));
@@ -475,6 +477,7 @@ void DateWidget::changeEvent(QEvent *event)
#define DATEWIDGETWIDTH 80
void DateWidget::paintEvent(QPaintEvent *event)
{
+ Q_UNUSED(event)
static QPixmap pix = QPixmap(":/calendar").scaled(DATEWIDGETWIDTH, 64);
QPainter painter(this);