From 2ead1ebe08a50fcc98f2b288528522cae0aa4197 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Thu, 19 Dec 2013 17:29:25 -0200 Subject: Removed obsolete code. The QPainter::hightQualityAntiAliasing is ignored by Qt, the docs says we should use QPainter::AntiAliasing. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/groupedlineedit.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'qt-ui/groupedlineedit.cpp') 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 i(d->colors); -- cgit v1.2.3-70-g09d2