Remove unused variable in tst_QTextEdit::setDocumentPreservesPalette()
Change-Id: I96c0f39c2ee1bd03cf0d7939624652ee008c9726 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
This commit is contained in:
parent
84e22f9e82
commit
579f0a4cf2
@ -2153,7 +2153,6 @@ void tst_QTextEdit::setDocumentPreservesPalette()
|
|||||||
QWidgetTextControl *control = ed->findChild<QWidgetTextControl *>();
|
QWidgetTextControl *control = ed->findChild<QWidgetTextControl *>();
|
||||||
QVERIFY(control);
|
QVERIFY(control);
|
||||||
|
|
||||||
QPalette defaultPal = ed->palette();
|
|
||||||
QPalette whitePal = ed->palette();
|
QPalette whitePal = ed->palette();
|
||||||
whitePal.setColor(QPalette::Active, QPalette::Text, Qt::white);
|
whitePal.setColor(QPalette::Active, QPalette::Text, Qt::white);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user