Merge PR #3: Don't use deprecated QTime::restart

pull/4/head
Jenkins nymea 2020-10-28 16:20:01 +01:00
commit 2952cb168d
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
#ifndef GPIOBUTTON_H
#define GPIOBUTTON_H
#include <QTime>
#include <QElapsedTimer>
#include <QTimer>
#include <QObject>
@ -67,7 +67,7 @@ private:
GpioMonitor *m_monitor = nullptr;
QTimer *m_timer = nullptr;
QTime m_time;
QElapsedTimer m_time;
signals:
void clicked();