summaryrefslogtreecommitdiffstats
path: root/examples/charts/piechartdrilldown/drilldownslice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/charts/piechartdrilldown/drilldownslice.cpp')
-rw-r--r--examples/charts/piechartdrilldown/drilldownslice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/charts/piechartdrilldown/drilldownslice.cpp b/examples/charts/piechartdrilldown/drilldownslice.cpp
index 5f83d006..1fc6bd81 100644
--- a/examples/charts/piechartdrilldown/drilldownslice.cpp
+++ b/examples/charts/piechartdrilldown/drilldownslice.cpp
@@ -38,8 +38,8 @@ DrilldownSlice::DrilldownSlice(qreal value, QString prefix, QAbstractSeries *dri
setValue(value);
updateLabel();
setLabelFont(QFont("Arial", 8));
- connect(this, SIGNAL(percentageChanged()), this, SLOT(updateLabel()));
- connect(this, SIGNAL(hovered(bool)), this, SLOT(showHighlight(bool)));
+ connect(this, &DrilldownSlice::percentageChanged, this, &DrilldownSlice::updateLabel);
+ connect(this, &DrilldownSlice::hovered, this, &DrilldownSlice::showHighlight);
}
DrilldownSlice::~DrilldownSlice()