mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-07 22:03:24 +00:00
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>
This commit is contained in:
parent
bdd1b3b546
commit
2ead1ebe08
1 changed files with 0 additions and 2 deletions
|
@ -187,8 +187,6 @@ void GroupedLineEdit::paintEvent(QPaintEvent *e)
|
||||||
QPainter painter(viewport());
|
QPainter painter(viewport());
|
||||||
|
|
||||||
painter.setRenderHint(QPainter::Antialiasing, true);
|
painter.setRenderHint(QPainter::Antialiasing, true);
|
||||||
painter.setRenderHint(QPainter::HighQualityAntialiasing, true);
|
|
||||||
|
|
||||||
painter.fillRect(0, 0, viewport()->width(), viewport()->height(), palette().base());
|
painter.fillRect(0, 0, viewport()->width(), viewport()->height(), palette().base());
|
||||||
|
|
||||||
QVectorIterator<QColor> i(d->colors);
|
QVectorIterator<QColor> i(d->colors);
|
||||||
|
|
Loading…
Add table
Reference in a new issue