From d44e067ee760f3ecdcabe8c681609df8d30ae67d Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Wed, 21 Oct 2015 21:30:18 +0200 Subject: [PATCH] Joystick: Fix mobile build --- src/Joystick/Joystick.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Joystick/Joystick.cc b/src/Joystick/Joystick.cc index e64e20350..647910df7 100644 --- a/src/Joystick/Joystick.cc +++ b/src/Joystick/Joystick.cc @@ -94,10 +94,12 @@ Joystick::Joystick(const QString& name, int axisCount, int buttonCount, int sdlI Joystick::~Joystick() { +#ifndef __mobile__ delete _rgAxisValues; delete _rgCalibration; delete _rgButtonValues; delete _rgButtonActions; +#endif } #ifndef __mobile__ -- 2.22.0