Fix type of Camera's errorCode property.
authorYoann Lopes <yoann.lopes@theqtcompany.com>
Tue, 7 Apr 2015 12:09:59 +0000 (14:09 +0200)
committerYoann Lopes <yoann.lopes@theqtcompany.com>
Wed, 8 Apr 2015 10:07:27 +0000 (10:07 +0000)
It's supposed to be of type enumeration (Error) and not QString.

Change-Id: Ia3ce112efa3e87614c79b89d05313b0faa557289
Reviewed-by: Andrew Knight <qt@panimo.net>
src/imports/multimedia/qdeclarativecamerarecorder_p.h

index dde13b8..5edff48 100644 (file)
@@ -83,7 +83,7 @@ class QDeclarativeCameraRecorder : public QObject
     Q_PROPERTY(QString actualLocation READ actualLocation NOTIFY actualLocationChanged)
     Q_PROPERTY(bool muted READ isMuted WRITE setMuted NOTIFY mutedChanged)
     Q_PROPERTY(QString errorString READ errorString NOTIFY error)
-    Q_PROPERTY(QString errorCode READ errorCode NOTIFY error)
+    Q_PROPERTY(Error errorCode READ errorCode NOTIFY error)
 
 public:
     enum RecorderState