diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-12-19 17:29:25 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-20 09:53:04 -0800 |
commit | 2ead1ebe08a50fcc98f2b288528522cae0aa4197 (patch) | |
tree | e6a70ed8cae3e685b4ce13e23fb6064eac3e1867 /qt-ui/groupedlineedit.cpp | |
parent | bdd1b3b5469a045b71343fbf721a512f9cd2b0e8 (diff) | |
download | subsurface-2ead1ebe08a50fcc98f2b288528522cae0aa4197.tar.gz |
Removed obsolete code.
The QPainter::hightQualityAntiAliasing is ignored by Qt,
the docs says we should use QPainter::AntiAliasing.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/groupedlineedit.cpp')
-rw-r--r-- | qt-ui/groupedlineedit.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-ui/groupedlineedit.cpp b/qt-ui/groupedlineedit.cpp index 915e4688b..fe1777cc6 100644 --- a/qt-ui/groupedlineedit.cpp +++ b/qt-ui/groupedlineedit.cpp @@ -187,8 +187,6 @@ void GroupedLineEdit::paintEvent(QPaintEvent *e) QPainter painter(viewport()); painter.setRenderHint(QPainter::Antialiasing, true); - painter.setRenderHint(QPainter::HighQualityAntialiasing, true); - painter.fillRect(0, 0, viewport()->width(), viewport()->height(), palette().base()); QVectorIterator<QColor> i(d->colors); |