summaryrefslogtreecommitdiffstats
path: root/src/kernel/qpainter_x11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qpainter_x11.cpp')
-rw-r--r--src/kernel/qpainter_x11.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/qpainter_x11.cpp b/src/kernel/qpainter_x11.cpp
index b368942dc..f057e7b1f 100644
--- a/src/kernel/qpainter_x11.cpp
+++ b/src/kernel/qpainter_x11.cpp
@@ -1860,8 +1860,8 @@ void TQPainter::drawWinFocusRect( int x, int y, int w, int h,
TQPDevCmdParam param[1];
TQRect r( x, y, w-1, h-1 );
TQBrush noBrush;
+ setBrush( noBrush );
param[0].rect = &r;
- param[0].brush = &noBrush;
if ( !pdev->cmd( TQPaintDevice::PdcDrawRect, this, param ) || !hd) {
setRasterOp( old_rop );
setPen( old_pen );