Added CONSTANT to openalHandle property in nSoundSource
authorlpcamargo <lucaspcamargo@gmail.com>
Mon, 3 Aug 2015 20:46:50 +0000 (23:46 +0300)
committerlpcamargo <lucaspcamargo@gmail.com>
Mon, 3 Aug 2015 20:46:50 +0000 (23:46 +0300)
src/nSoundSource.h

index 4b9dd43b228f22cbe5a72f5ef89eb25e99dcbecc..d975200a1fde579173d38f3184883a2f37e060df 100644 (file)
@@ -41,7 +41,7 @@ class NEIASOUNDSHARED_EXPORT nSoundSource : public QObject
     Q_ENUMS(nSoundSourceState)
     Q_ENUMS(nSoundSourceRole)
 
-    Q_PROPERTY(unsigned int openalHandle READ openalHandle)
+    Q_PROPERTY(unsigned int openalHandle READ openalHandle CONSTANT)
     Q_PROPERTY(nSoundSourceRole role READ role)
     Q_PROPERTY(nSoundSourceState state READ state)
     Q_PROPERTY(qreal gain READ gain WRITE setGain)