summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-07-13 18:49:43 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-07-13 18:49:43 (GMT)
commit449f033b88a18204404356664b654b85cc086092 (patch)
treeba36976c4e938eff3c74de8c4925071d22c970b2 /src
parent0c3068761598e9decd2bdc903be5431d093b8eac (diff)
downloadQt-449f033b88a18204404356664b654b85cc086092.zip
Qt-449f033b88a18204404356664b654b85cc086092.tar.gz
Qt-449f033b88a18204404356664b654b85cc086092.tar.bz2
Compile without qt3support
Diffstat (limited to 'src')
-rw-r--r--src/gui/kernel/qwhatsthis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qwhatsthis.cpp b/src/gui/kernel/qwhatsthis.cpp
index f569c97..62b5863 100644
--- a/src/gui/kernel/qwhatsthis.cpp
+++ b/src/gui/kernel/qwhatsthis.cpp
@@ -351,7 +351,7 @@ void QWhatsThat::paintEvent(QPaintEvent*)
rect.translate(-r.x(), -r.y());
p.setClipRect(rect);
QAbstractTextDocumentLayout::PaintContext context;
- context.palette.setColor(QPalette::Text, context.palette.toolTipText());
+ context.palette.setBrush(QPalette::Text, context.palette.toolTipText());
doc->documentLayout()->draw(&p, context);
}
else