- fixes #262: Debugger console's background not correctly cleared before redrawn.
This commit is contained in:
parent
b5e63e3719
commit
fc27fac68e
|
@ -728,7 +728,7 @@ void QConsole::paintEvent(QPaintEvent *event)
|
||||||
QPainter cachePainter(mContentImage.get());
|
QPainter cachePainter(mContentImage.get());
|
||||||
cachePainter.setFont(font());
|
cachePainter.setFont(font());
|
||||||
if (viewport()->rect() == rcClip) {
|
if (viewport()->rect() == rcClip) {
|
||||||
painter.fillRect(rcClip, mBackground);
|
cachePainter.fillRect(rcClip, mBackground);
|
||||||
}
|
}
|
||||||
paintRows(cachePainter,nL1,nL2);
|
paintRows(cachePainter,nL1,nL2);
|
||||||
painter.drawImage(rcClip,*mContentImage,rcClip);
|
painter.drawImage(rcClip,*mContentImage,rcClip);
|
||||||
|
|
Loading…
Reference in New Issue