Commit 4f3ed6ff authored by Patrick José Pereira's avatar Patrick José Pereira

Joystick: Move from QTime to QElapsedTimer to avoid deprecated functions

Signed-off-by: 's avatarPatrick José Pereira <>
parent 83e7a604
......@@ -28,7 +28,7 @@ class AssignedButtonAction : public QObject {
AssignedButtonAction(QObject* parent, const QString name);
QString action;
QTime buttonTime;
QElapsedTimer buttonTime;
bool repeat = false;
......@@ -299,7 +299,7 @@ protected:
static int _transmitterMode;
int _rgFunctionAxis[maxFunction] = {};
QTime _axisTime;
QElapsedTimer _axisTime;
QmlObjectListModel _assignableButtonActions;
QList<AssignedButtonAction*> _buttonActionArray;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment