summaryrefslogtreecommitdiffstats
path: root/tests/auto/qareaseries/tst_qareaseries.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qareaseries/tst_qareaseries.cpp')
-rw-r--r--tests/auto/qareaseries/tst_qareaseries.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qareaseries/tst_qareaseries.cpp b/tests/auto/qareaseries/tst_qareaseries.cpp
index e03989c0..16fa94b3 100644
--- a/tests/auto/qareaseries/tst_qareaseries.cpp
+++ b/tests/auto/qareaseries/tst_qareaseries.cpp
@@ -78,6 +78,9 @@ void tst_QAreaSeries::init()
m_axisY = new QValueAxis;
m_axisX->setRange(0, 4);
m_axisY->setRange(0, 10);
+ // Hide axes so they don't confuse color checks
+ m_axisX->setVisible(false);
+ m_axisY->setVisible(false);
m_chart->addAxis(m_axisX, Qt::AlignBottom);
m_chart->addAxis(m_axisY, Qt::AlignRight);
}