summaryrefslogtreecommitdiffstats
path: root/src/Viewer/studio3d/q3dsdatainput.h
diff options
context:
space:
mode:
authorJanne Kangas <janne.kangas@qt.io>2019-03-21 13:38:12 +0200
committerJanne Kangas <janne.kangas@qt.io>2019-05-09 04:15:14 +0000
commit9859c764ea019fbe0e78a563c556afdc6cde7666 (patch)
treee876a8e804848d198d0fa339a0863de53c9d1ca2 /src/Viewer/studio3d/q3dsdatainput.h
parentf699744899fa6d149b21ab4412a2588854ae8dbc (diff)
Remove circular build dependencywip/qtify
Duplicate enum defined in studio3d module on runtime side to avoid including the entire class from studio3d. Task-id: QT3DS-3396 Change-Id: I193b34614a8bbf991f717f8302061298b56e451e Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/Viewer/studio3d/q3dsdatainput.h')
-rw-r--r--src/Viewer/studio3d/q3dsdatainput.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Viewer/studio3d/q3dsdatainput.h b/src/Viewer/studio3d/q3dsdatainput.h
index 2368126e..fc5933fa 100644
--- a/src/Viewer/studio3d/q3dsdatainput.h
+++ b/src/Viewer/studio3d/q3dsdatainput.h
@@ -30,7 +30,7 @@
#ifndef Q3DSDATAINPUT_H
#define Q3DSDATAINPUT_H
-#include "qstudio3dglobal.h"
+#include <QtStudio3D/qstudio3dglobal.h>
#include <QtCore/qobject.h>
#include <QtCore/qvariant.h>
@@ -58,9 +58,9 @@ public:
virtual ~Q3DSDataInput();
enum class ValueRole {
- Value,
- Min,
- Max
+ Value = 0,
+ Min = 1,
+ Max = 2
};
QString name() const;