code cleanup: use QElapsedTimer instead of QTime

Newer versions of Qt deprecate using QTime as a timer.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-01-01 18:56:34 -08:00
parent afd53be6f5
commit 44ddb1411e
2 changed files with 4 additions and 3 deletions

View file

@ -7,6 +7,7 @@
#include <QAbstractButton>
#include <QDateTime>
#include <QSignalMapper>
#include <QElapsedTimer>
class QListView;
@ -34,7 +35,7 @@ slots:
void selfRemove();
void changeGas();
private:
QTime t;
QElapsedTimer t;
};
#include "ui_diveplanner.h"