diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-07-13 18:49:43 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-07-13 18:49:43 (GMT) |
commit | 449f033b88a18204404356664b654b85cc086092 (patch) | |
tree | ba36976c4e938eff3c74de8c4925071d22c970b2 /src/gui/kernel/qwhatsthis.cpp | |
parent | 0c3068761598e9decd2bdc903be5431d093b8eac (diff) | |
download | Qt-449f033b88a18204404356664b654b85cc086092.zip Qt-449f033b88a18204404356664b654b85cc086092.tar.gz Qt-449f033b88a18204404356664b654b85cc086092.tar.bz2 |
Compile without qt3support
Diffstat (limited to 'src/gui/kernel/qwhatsthis.cpp')
-rw-r--r-- | src/gui/kernel/qwhatsthis.cpp | 2 |
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 |