Changeset 9e45999 in subsurface


Ignore:
Timestamp:
May 6, 2017, 11:12:28 AM (3 weeks ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
ad5819c
Parents:
38af1f2
git-author:
Dirk Hohndel <dirk@…> (05/06/17 11:11:30)
git-committer:
Dirk Hohndel <dirk@…> (05/06/17 11:12:28)
Message:

Fix some warnings

Two unused variables and one case of sign confusion.

Signed-off-by: Dirk Hohndel <dirk@…>

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • core/configuredivecomputerthreads.cpp

    rf14ad7f r9e45999  
    374374        progress.current = 0;
    375375        progress.maximum = 23;
    376         unsigned char hardware[1];
    377376
    378377        EMIT_PROGRESS();
  • desktop-widgets/divepicturewidget.cpp

    r9021a44 r9e45999  
    3232void DivePictureWidget::mousePressEvent(QMouseEvent *event)
    3333{
    34         ulong doubleClickInterval = static_cast<ulong>(qApp->styleHints()->mouseDoubleClickInterval());
     34        int doubleClickInterval = qApp->styleHints()->mouseDoubleClickInterval();
    3535        static qint64 lasttime = 0L;
    3636        qint64 timestamp = QDateTime::currentDateTime().toMSecsSinceEpoch();
  • desktop-widgets/modeldelegates.cpp

    r9021a44 r9e45999  
    114114{
    115115        Q_UNUSED(option)
    116         MainWindow *m = MainWindow::instance();
    117116        QComboBox *comboDelegate = new QComboBox(parent);
    118117        comboDelegate->setModel(model);
Note: See TracChangeset for help on using the changeset viewer.