summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-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());