summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-13 19:46:36 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-13 19:46:36 -0500
commit1faf4cf70f8ed79f83bb4e8c1ccbb2c52b1aec44 (patch)
tree76c0e6af0cf1cd379827a20f254c64fb4fb10afe
parentbe8d88eef8e7ab7c6bbfb6d553b34b4a9a3a7755 (diff)
downloadqt3-1faf4cf7.tar.gz
qt3-1faf4cf7.zip
Fix focus rectangle drawing on external paint device
-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 fd6979b..c1e4e07 100644
--- a/src/kernel/qpainter_x11.cpp
+++ b/src/kernel/qpainter_x11.cpp
@@ -1860,8 +1860,8 @@ void QPainter::drawWinFocusRect( int x, int y, int w, int h,
QPDevCmdParam param[1];
QRect r( x, y, w-1, h-1 );
QBrush noBrush;
+ setBrush( noBrush );
param[0].rect = &r;
- param[0].brush = &noBrush;
if ( !pdev->cmd( QPaintDevice::PdcDrawRect, this, param ) || !hd) {
setRasterOp( old_rop );
setPen( old_pen );