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:
parent
a3ec982d01
commit
9abdf64813
@ -112,7 +112,6 @@ void TextEdit::setNativeWidget(KTextEdit *nativeWidget)
|
|||||||
|
|
||||||
nativeWidget->setAttribute(Qt::WA_NoSystemBackground);
|
nativeWidget->setAttribute(Qt::WA_NoSystemBackground);
|
||||||
nativeWidget->setFrameShape(QFrame::NoFrame);
|
nativeWidget->setFrameShape(QFrame::NoFrame);
|
||||||
nativeWidget->setTextBackgroundColor(Qt::transparent);
|
|
||||||
nativeWidget->viewport()->setAutoFillBackground(false);
|
nativeWidget->viewport()->setAutoFillBackground(false);
|
||||||
nativeWidget->verticalScrollBar()->setStyle(d->style.data());
|
nativeWidget->verticalScrollBar()->setStyle(d->style.data());
|
||||||
nativeWidget->horizontalScrollBar()->setStyle(d->style.data());
|
nativeWidget->horizontalScrollBar()->setStyle(d->style.data());
|
||||||
|
Loading…
Reference in New Issue
Block a user