Remove waste setTextBackgroundColor() for internal KTextEdit

Removed setTextBackgroundColor() for internal KTextEdit as it
seems to be useless and leads to QTBUG-21522
(http://bugreports.qt.nokia.com/browse/QTBUG-21522).

REVIEW: 102698
This commit is contained in:
Alexey Chernov 2011-09-25 19:05:26 +04:00
parent a3ec982d01
commit 9abdf64813

View File

@ -112,7 +112,6 @@ void TextEdit::setNativeWidget(KTextEdit *nativeWidget)
nativeWidget->setAttribute(Qt::WA_NoSystemBackground);
nativeWidget->setFrameShape(QFrame::NoFrame);
nativeWidget->setTextBackgroundColor(Qt::transparent);
nativeWidget->viewport()->setAutoFillBackground(false);
nativeWidget->verticalScrollBar()->setStyle(d->style.data());
nativeWidget->horizontalScrollBar()->setStyle(d->style.data());