summaryrefslogtreecommitdiffstats
path: root/examples/piechartdrilldown/drilldownslice.cpp
diff options
context:
space:
mode:
authorJani Honkonen <jani.honkonen@digia.com>2012-04-23 14:17:44 +0300
committerJani Honkonen <jani.honkonen@digia.com>2012-04-23 14:20:52 +0300
commitb264b1ddc4c83cf8ba8b08a6e171d6834352ef67 (patch)
treea7287d23a3355a2c27d758ac2bb4f95962ebc0dc /examples/piechartdrilldown/drilldownslice.cpp
parent4c0668542a5484deb7ac597608eb3c04a9bbe4d7 (diff)
Emit hover leave signal from PieSliceItem when it gets destroyed.
This fixes the problem with the drilldown demo highlight getting stuck when switching series.
Diffstat (limited to 'examples/piechartdrilldown/drilldownslice.cpp')
-rw-r--r--examples/piechartdrilldown/drilldownslice.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/piechartdrilldown/drilldownslice.cpp b/examples/piechartdrilldown/drilldownslice.cpp
index f375f029..c0cbe054 100644
--- a/examples/piechartdrilldown/drilldownslice.cpp
+++ b/examples/piechartdrilldown/drilldownslice.cpp
@@ -57,6 +57,7 @@ void DrilldownSlice::updateLabel()
void DrilldownSlice::showHighlight(bool show)
{
setLabelVisible(show);
+ setExploded(show);
}
#include "moc_drilldownslice.cpp"