From a670181ed22b7fc5c5d132842949002063c32ca7 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 9 Mar 2016 20:21:46 -0800 Subject: Silence warnings in simplewidgets.cpp Signed-off-by: Dirk Hohndel --- desktop-widgets/simplewidgets.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'desktop-widgets') 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); -- cgit v1.2.3-70-g09d2