summaryrefslogtreecommitdiffstats
path: root/src/datavis3d
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@digia.com>2013-05-02 13:44:23 +0300
committerTomi Korpipää <tomi.korpipaa@digia.com>2013-05-03 06:27:43 +0300
commit77cb80d64e9f1ec7e56938d3ac71ef946afb5a31 (patch)
treede9b7eacf8b86e1230caa5bfe0102dcdb3376560 /src/datavis3d
parente949b92bd00fe97b609a4fdb43f1159dc36b4212 (diff)
Q3DBars: Bug fix (compilation error if DISPLAY_FULL_DATA_ON_SELECTION was not defined)
Change-Id: I109e9c400bca16babbf51300506da1d09d769a2c Change-Id: I109e9c400bca16babbf51300506da1d09d769a2c Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'src/datavis3d')
-rw-r--r--src/datavis3d/engine/q3dbars.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datavis3d/engine/q3dbars.cpp b/src/datavis3d/engine/q3dbars.cpp
index 85350521..46bb3384 100644
--- a/src/datavis3d/engine/q3dbars.cpp
+++ b/src/datavis3d/engine/q3dbars.cpp
@@ -956,7 +956,7 @@ void Q3DBars::drawScene()
}
#ifndef DISPLAY_FULL_DATA_ON_SELECTION
// Draw just the value string of the selected bar
- if (prevItem != d_ptr->m_selectedBar || m_updateLabels) {
+ if (prevItem != d_ptr->m_selectedBar || d_ptr->m_updateLabels) {
d_ptr->m_drawer->generateLabelTexture(d_ptr->m_selectedBar);
prevItem = d_ptr->m_selectedBar;
}