From f811fe17227c13db7e800ca5d3addfcf4fcac825 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Sat, 15 Dec 2018 19:25:56 +0100 Subject: [PATCH] fix hue tap button 4 param value typo --- philipshue/devicepluginphilipshue.cpp | 2 +- philipshue/hueremote.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/philipshue/devicepluginphilipshue.cpp b/philipshue/devicepluginphilipshue.cpp index 915b123d..f90ef1c4 100644 --- a/philipshue/devicepluginphilipshue.cpp +++ b/philipshue/devicepluginphilipshue.cpp @@ -724,7 +724,7 @@ void DevicePluginPhilipsHue::onRemoteButtonEvent(const int &buttonCode) id = tapPressedEventTypeId; break; case HueRemote::TapButton4Pressed: - param = Param(tapPressedEventButtonNameParamTypeId, "•••••"); + param = Param(tapPressedEventButtonNameParamTypeId, "••••"); id = tapPressedEventTypeId; break; default: diff --git a/philipshue/hueremote.h b/philipshue/hueremote.h index 0ffb6ade..f00b8ea1 100644 --- a/philipshue/hueremote.h +++ b/philipshue/hueremote.h @@ -51,7 +51,7 @@ public: TapButton4Pressed = 18 }; - explicit HueRemote(QObject *parent = 0); + explicit HueRemote(QObject *parent = nullptr); int battery() const; void setBattery(const int &battery);