summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-13 09:52:22 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-13 09:52:22 -0500
commitdc14a278e281a7815d53b63fbeac149888c60ac6 (patch)
tree3c117ae35f4a59485a4fb814f035130f1a433ba7 /src
parent646dfb2d53f1747663d97fb5b66f22432a5378ce (diff)
downloadtqt3-dc14a278e281a7815d53b63fbeac149888c60ac6.tar.gz
tqt3-dc14a278e281a7815d53b63fbeac149888c60ac6.zip
Automated update from Qt3
Diffstat (limited to 'src')
-rw-r--r--src/kernel/qpainter_x11.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/kernel/qpainter_x11.cpp b/src/kernel/qpainter_x11.cpp
index 0be2db0a5..b368942dc 100644
--- a/src/kernel/qpainter_x11.cpp
+++ b/src/kernel/qpainter_x11.cpp
@@ -1839,7 +1839,8 @@ void TQPainter::drawWinFocusRect( int x, int y, int w, int h,
static char winfocus_line[] = { 1, 1 };
TQPen old_pen = cpen;
- RasterOp old_rop = (RasterOp)rop;
+ TQBrush old_brush = cbrush;
+ RasterOp old_rop = (RasterOp)rop;
if ( xorPaint ) {
if ( TQColor::numBitPlanes() <= 8 )
@@ -1858,10 +1859,13 @@ void TQPainter::drawWinFocusRect( int x, int y, int w, int h,
if ( testf(ExtDev) ) {
TQPDevCmdParam param[1];
TQRect r( x, y, w-1, h-1 );
+ TQBrush noBrush;
param[0].rect = &r;
+ param[0].brush = &noBrush;
if ( !pdev->cmd( TQPaintDevice::PdcDrawRect, this, param ) || !hd) {
setRasterOp( old_rop );
setPen( old_pen );
+ setBrush( old_brush );
return;
}
}