From 9e45999a01471678001af1b2c292776cf30253ce Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 6 May 2017 11:11:30 -0700 Subject: Fix some warnings Two unused variables and one case of sign confusion. Signed-off-by: Dirk Hohndel --- desktop-widgets/divepicturewidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop-widgets/divepicturewidget.cpp') diff --git a/desktop-widgets/divepicturewidget.cpp b/desktop-widgets/divepicturewidget.cpp index 92a61cba7..fcdd010da 100644 --- a/desktop-widgets/divepicturewidget.cpp +++ b/desktop-widgets/divepicturewidget.cpp @@ -31,7 +31,7 @@ void DivePictureWidget::doubleClicked(const QModelIndex &index) void DivePictureWidget::mousePressEvent(QMouseEvent *event) { - ulong doubleClickInterval = static_cast(qApp->styleHints()->mouseDoubleClickInterval()); + int doubleClickInterval = qApp->styleHints()->mouseDoubleClickInterval(); static qint64 lasttime = 0L; qint64 timestamp = QDateTime::currentDateTime().toMSecsSinceEpoch(); -- cgit v1.2.3-70-g09d2