diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2018-04-09 23:25:51 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2018-04-10 10:23:16 +0000 |
commit | da3c5925d546282e99f13b450a674c7024fde9ed (patch) | |
tree | e9a0888d235b8477343167c0fdabe09e464c8401 /src/datavisualization/engine/drawer.cpp | |
parent | 1212170af2f4ade8497fb150c3ae0e5d52236e35 (diff) |
Use Qt::Alignment instead of the AlignmentFlag enum to represent flags
Because from Qt 5.12, the the right operator| is found in the Qt namespace
instead of in the global namespace.
One must still add the 'using' statement so this patch can be integrated
using a previous qtbase. But the statement can be removed once qtbase is
updated.
Task-number: QTBUG-67582
Change-Id: Ib79c4623e858988bb55a87ad4fb0c1e0ceee81cf
Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'src/datavisualization/engine/drawer.cpp')
-rw-r--r-- | src/datavisualization/engine/drawer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datavisualization/engine/drawer.cpp b/src/datavisualization/engine/drawer.cpp index a3f9006c..2e0805e0 100644 --- a/src/datavisualization/engine/drawer.cpp +++ b/src/datavisualization/engine/drawer.cpp @@ -306,7 +306,7 @@ void Drawer::drawLabel(const AbstractRenderItem &item, const LabelItem &labelIte GLfloat itemHeight, QAbstract3DGraph::SelectionFlags mode, ShaderHelper *shader, ObjectHelper *object, const Q3DCamera *camera, bool useDepth, bool rotateAlong, - LabelPosition position, Qt::AlignmentFlag alignment, bool isSlicing, + LabelPosition position, Qt::Alignment alignment, bool isSlicing, bool isSelecting) { // Draw label |