diff options
author | Tero Ahola <tero.ahola@digia.com> | 2012-08-29 15:48:30 +0300 |
---|---|---|
committer | Tero Ahola <tero.ahola@digia.com> | 2012-08-29 16:08:33 +0300 |
commit | 946c00a01ac43634c7c183dfca499931e348828d (patch) | |
tree | 83fcbf6b52ccfa6a5078fd75eaa1f73f3c9f07e0 /plugins/declarative/declarativechart.cpp | |
parent | bb12647edbe2ecf3f8dd64a7a768684c9459dbbb (diff) |
Disabled anti-aliasing by default in declarative impl
Diffstat (limited to 'plugins/declarative/declarativechart.cpp')
-rw-r--r-- | plugins/declarative/declarativechart.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/plugins/declarative/declarativechart.cpp b/plugins/declarative/declarativechart.cpp index 60f9dc3e..b8688e30 100644 --- a/plugins/declarative/declarativechart.cpp +++ b/plugins/declarative/declarativechart.cpp @@ -223,7 +223,6 @@ DeclarativeChart::DeclarativeChart(QDeclarativeItem *parent) m_chart(new QChart(this)) { setFlag(QGraphicsItem::ItemHasNoContents, false); -// m_chart->axisX()->setNiceNumbersEnabled(false); //TODO: check what should be really here margins or platArea ?! m_chartMargins = m_chart->minimumMargins(); connect(m_chart, SIGNAL(marginsChanged(QRectF)), this, SLOT(handleMarginsChanged(QRectF))); @@ -366,15 +365,6 @@ void DeclarativeChart::geometryChanged(const QRectF &newGeometry, const QRectF & QDeclarativeItem::geometryChanged(newGeometry, oldGeometry); } -void DeclarativeChart::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) -{ - Q_UNUSED(option) - Q_UNUSED(widget) - - // TODO: optimized? - painter->setRenderHint(QPainter::Antialiasing, true); -} - void DeclarativeChart::setTheme(DeclarativeChart::Theme theme) { QChart::ChartTheme chartTheme = (QChart::ChartTheme) theme; |