1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 18:55:29 +03:00
aports/community/qt5-qtsensors/0002-QHrmSensor-Make-the-usage-of-Status-enum-explicit-fo.patch

30 lines
882 B
Diff

From c2f0f0ffbdc07be3bb4e4aab4388fe54621b6c07 Mon Sep 17 00:00:00 2001
From: Florent Revest <revestflo@gmail.com>
Date: Mon, 22 Jul 2019 20:48:51 +0200
Subject: [PATCH 2/6] QHrmSensor: Make the usage of Status enum explicit for
QObject::connect to find the statusChanged signal
---
src/sensors/qhrmsensor.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/sensors/qhrmsensor.h b/src/sensors/qhrmsensor.h
index 241fb2b..5bc2430 100644
--- a/src/sensors/qhrmsensor.h
+++ b/src/sensors/qhrmsensor.h
@@ -88,10 +88,10 @@ public:
static char const * const type;
QHrmSensor::Status status() const;
- void setStatus(Status status);
+ void setStatus(QHrmSensor::Status status);
Q_SIGNALS:
- void statusChanged(Status status);
+ void statusChanged(QHrmSensor::Status status);
private:
Q_DECLARE_PRIVATE(QHrmSensor)
--
2.31.1