diff options
author | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-10-28 11:33:19 +0200 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-10-28 11:33:19 +0200 |
commit | 9dccb0ba57a2299348a5fd267902c57f94f09494 (patch) | |
tree | 73ce4fc9c42f9917594db6140120ade7fc8d7f9c | |
parent | b057b2de768025d5b420acedca9c0729cf493bf5 (diff) | |
parent | 913bd7311c554f14de80a5ff5027f266903bf73e (diff) |
Merge remote-tracking branch 'origin/develop'
Change-Id: I618328a9221c9510a5d455389a895122fb32bec1
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | examples/qmlbars/qml/qmlbars/main.qml | 7 | ||||
-rw-r--r-- | src/datavisualization/engine/scatter3drenderer.cpp | 2 |
3 files changed, 7 insertions, 4 deletions
@@ -48,7 +48,7 @@ If you want to uninstall the module: Building as a statically linked library ======================================= -The same as above applies you will just have to add static to the CONFIG: +The same as above applies, you will just have to add static to the CONFIG: qmake CONFIG+=static Documentation diff --git a/examples/qmlbars/qml/qmlbars/main.qml b/examples/qmlbars/qml/qmlbars/main.qml index f2278d83..5b1cc006 100644 --- a/examples/qmlbars/qml/qmlbars/main.qml +++ b/examples/qmlbars/qml/qmlbars/main.qml @@ -72,8 +72,11 @@ Item { var currentColRole = graphData.model.get(i).month if (currentRowRole === rowRole && currentColRole === colRole) { tableView.currentRow = i - tableView.selection.clear() - tableView.selection.select(i) + // Workaround to 5.2 row selection issue + if (typeof tableView.selection != "undefined") { + tableView.selection.clear() + tableView.selection.select(i) + } break } } diff --git a/src/datavisualization/engine/scatter3drenderer.cpp b/src/datavisualization/engine/scatter3drenderer.cpp index a5dc53b1..a457b545 100644 --- a/src/datavisualization/engine/scatter3drenderer.cpp +++ b/src/datavisualization/engine/scatter3drenderer.cpp @@ -1264,7 +1264,7 @@ void Scatter3DRenderer::drawScene(const GLuint defaultFboHandle) m_drawer->drawLabel(*selectedItem, labelItem, viewMatrix, projectionMatrix, zeroVector, zeroVector, 0, m_cachedSelectionMode, m_labelShader, - m_labelObj, activeCamera, true, false, Drawer::LabelMid); + m_labelObj, activeCamera, true, false, Drawer::LabelOver); // Reset label update flag; they should have been updated when we get here m_updateLabels = false; |