summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@digia.com>2013-10-28 11:33:19 +0200
committerTomi Korpipää <tomi.korpipaa@digia.com>2013-10-28 11:33:19 +0200
commit9dccb0ba57a2299348a5fd267902c57f94f09494 (patch)
tree73ce4fc9c42f9917594db6140120ade7fc8d7f9c
parentb057b2de768025d5b420acedca9c0729cf493bf5 (diff)
parent913bd7311c554f14de80a5ff5027f266903bf73e (diff)
Merge remote-tracking branch 'origin/develop'
-rw-r--r--README2
-rw-r--r--examples/qmlbars/qml/qmlbars/main.qml7
-rw-r--r--src/datavisualization/engine/scatter3drenderer.cpp2
3 files changed, 7 insertions, 4 deletions
diff --git a/README b/README
index 18df6e6a..f4cbd3d5 100644
--- a/README
+++ b/README
@@ -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;