summaryrefslogtreecommitdiffstats
path: root/tests/auto/qlegend/tst_qlegend.cpp
diff options
context:
space:
mode:
authorsauimone <samu.uimonen@digia.com>2012-10-23 14:55:43 +0300
committersauimone <samu.uimonen@digia.com>2012-10-23 14:55:43 +0300
commit71390eaf833446004180b72a3f8f9f8bfb6b302f (patch)
treea806a6d73eb48baf71c0a415e62ef4e5505bd286 /tests/auto/qlegend/tst_qlegend.cpp
parent20facd159d06fba9970a7f9d1d9a235fff65950c (diff)
no need for add/remove series in legend, since these are handled via slots
Diffstat (limited to 'tests/auto/qlegend/tst_qlegend.cpp')
-rw-r--r--tests/auto/qlegend/tst_qlegend.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qlegend/tst_qlegend.cpp b/tests/auto/qlegend/tst_qlegend.cpp
index 2a09d8eb..50bbb7e6 100644
--- a/tests/auto/qlegend/tst_qlegend.cpp
+++ b/tests/auto/qlegend/tst_qlegend.cpp
@@ -277,12 +277,12 @@ void tst_QLegend::addAndRemoveSeries()
pie->append(QString("slice2"), 2);
pie->append(QString("slice3"), 3);
- legend->addSeries(pie);
+ m_chart->addSeries(pie);
QList<QLegendMarker *> markers = legend->markers();
QVERIFY(markers.count() == 3);
- legend->removeSeries(pie);
+ m_chart->removeSeries(pie);
markers = legend->markers();
QVERIFY(markers.count() == 0);