summaryrefslogtreecommitdiffstats
path: root/examples/legend/mainwidget.cpp
diff options
context:
space:
mode:
authorTero Ahola <tero.ahola@digia.com>2012-06-25 10:52:41 +0300
committerTero Ahola <tero.ahola@digia.com>2012-06-25 10:52:41 +0300
commit0b7cf651b670d51c213cae8f4638b97b1a5011f8 (patch)
tree731a72b7e3e246897412a74b8b7dc6e427887988 /examples/legend/mainwidget.cpp
parentc381af48c9b3e1499ee57c602872b8bc92f061f3 (diff)
Added property definitions to QChart
Diffstat (limited to 'examples/legend/mainwidget.cpp')
-rw-r--r--examples/legend/mainwidget.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/legend/mainwidget.cpp b/examples/legend/mainwidget.cpp
index 81468e89..52f8b9aa 100644
--- a/examples/legend/mainwidget.cpp
+++ b/examples/legend/mainwidget.cpp
@@ -139,7 +139,6 @@ void MainWidget::showLegendSpinbox()
{
m_legendSettings->setVisible(true);
QRectF chartViewRect = m_chartView->rect();
- QRectF legendRect = m_chart->legend()->boundingRect();
m_legendPosX->setMinimum(0);
m_legendPosX->setMaximum(chartViewRect.width());