Browse Source

replaced Q_ENUMS with Q_ENUM

Malte Veerman 7 years ago
parent
commit
04981610c8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      import/src/pwmfan.h

+ 1 - 1
import/src/pwmfan.h

@@ -51,7 +51,6 @@ class PwmFan : public Fan
     Q_PROPERTY(bool testing READ testing NOTIFY testStatusChanged)
     Q_PROPERTY(bool testing READ testing NOTIFY testStatusChanged)
     Q_PROPERTY(TestStatus testStatus READ testStatus NOTIFY testStatusChanged)
     Q_PROPERTY(TestStatus testStatus READ testStatus NOTIFY testStatusChanged)
     Q_PROPERTY(int pwmEnable READ pwmEnable WRITE setPwmEnable NOTIFY pwmEnableChanged)
     Q_PROPERTY(int pwmEnable READ pwmEnable WRITE setPwmEnable NOTIFY pwmEnableChanged)
-    Q_ENUMS(TestStatus)
 
 
 public:
 public:
 
 
@@ -65,6 +64,7 @@ public:
         Cancelled,
         Cancelled,
         Error
         Error
     };
     };
+    Q_ENUM(TestStatus)
 
 
     explicit PwmFan(uint index, Hwmon *parent = Q_NULLPTR);
     explicit PwmFan(uint index, Hwmon *parent = Q_NULLPTR);
     virtual ~PwmFan();
     virtual ~PwmFan();