summaryrefslogtreecommitdiffstats
path: root/qt-ui/groupedlineedit.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2015-08-06 11:25:50 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-15 04:59:23 -0700
commit25273a3912ab579f594b377b9b15d805d6e9c183 (patch)
tree17cea2bd7780f280a05ee3786a8c2b60605f2947 /qt-ui/groupedlineedit.cpp
parented30059183f8a6d5d8e0692690f16f7f665fd369 (diff)
downloadsubsurface-25273a3912ab579f594b377b9b15d805d6e9c183.tar.gz
Remove obsolete comment
We don't allow building against Qt4 anymore. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/groupedlineedit.cpp')
-rw-r--r--qt-ui/groupedlineedit.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/qt-ui/groupedlineedit.cpp b/qt-ui/groupedlineedit.cpp
index ed2428fd7..bc948060d 100644
--- a/qt-ui/groupedlineedit.cpp
+++ b/qt-ui/groupedlineedit.cpp
@@ -159,9 +159,6 @@ void GroupedLineEdit::keyPressEvent(QKeyEvent *e)
void GroupedLineEdit::paintEvent(QPaintEvent *e)
{
- // for reasons we don't understand, touching the painter
- // here (even drawing the fill rect) causes the QPlainTextEdit
- // paintEvent to not draw the text on Qt4 & MacOS.
QTextLine line = document()->findBlock(0).layout()->lineAt(0);
QPainter painter(viewport());