summaryrefslogtreecommitdiffstats
path: root/tests/auto/qpieslice/tst_qpieslice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qpieslice/tst_qpieslice.cpp')
-rw-r--r--tests/auto/qpieslice/tst_qpieslice.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qpieslice/tst_qpieslice.cpp b/tests/auto/qpieslice/tst_qpieslice.cpp
index 5e1dd099..bc68ddd5 100644
--- a/tests/auto/qpieslice/tst_qpieslice.cpp
+++ b/tests/auto/qpieslice/tst_qpieslice.cpp
@@ -253,6 +253,7 @@ void tst_qpieslice::clickedSignal()
// add series to the chart
QChartView view;
+ view.resize(200, 200);
view.chart()->legend()->setVisible(false);
view.chart()->addSeries(series);
view.show();
@@ -290,6 +291,7 @@ void tst_qpieslice::hoverSignal()
// add series to the chart
QChartView view;
+ view.resize(200, 200);
view.chart()->legend()->setVisible(false);
view.chart()->addSeries(series);
view.show();
@@ -369,6 +371,7 @@ void tst_qpieslice::pressedSignal()
// add series to the chart
QChartView view;
+ view.resize(200, 200);
view.chart()->legend()->setVisible(false);
view.chart()->addSeries(series);
view.show();
@@ -409,6 +412,7 @@ void tst_qpieslice::releasedSignal()
// add series to the chart
QChartView view;
+ view.resize(200, 200);
view.chart()->legend()->setVisible(false);
view.chart()->addSeries(series);
view.show();
@@ -443,6 +447,7 @@ void tst_qpieslice::doubleClickedSignal()
// add series to the chart
QChartView view;
+ view.resize(200, 200);
view.chart()->legend()->setVisible(false);
view.chart()->addSeries(series);
view.show();