remove unused variable from QPlainTextEdit::paintEvent
Change-Id: I0959acebaca0685f799465999ed002242f3b0ec3 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
parent
ea0d58c131
commit
8ccd563f3c
@ -1827,7 +1827,6 @@ static void fillBackground(QPainter *p, const QRectF &rect, QBrush brush, QRectF
|
||||
*/
|
||||
void QPlainTextEdit::paintEvent(QPaintEvent *e)
|
||||
{
|
||||
Q_D(QPlainTextEdit);
|
||||
QPainter painter(viewport());
|
||||
Q_ASSERT(qobject_cast<QPlainTextDocumentLayout*>(document()->documentLayout()));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user