summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsitem.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-11-09 17:20:51 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-11-09 17:26:00 (GMT)
commit327ef9127aba3aa6bf2238c0aa779613f8edf0b1 (patch)
tree12440a99ea6b28cecb08ca7d4f9a037b0c5d12b2 /src/gui/graphicsview/qgraphicsitem.cpp
parentecdecf7a628aa1c9eb953984c89fc65ffa767a24 (diff)
downloadQt-327ef9127aba3aa6bf2238c0aa779613f8edf0b1.zip
Qt-327ef9127aba3aa6bf2238c0aa779613f8edf0b1.tar.gz
Qt-327ef9127aba3aa6bf2238c0aa779613f8edf0b1.tar.bz2
QGraphicsTextItem: update when changing the color.
Task-number: QTBUG-5418 Reviewed-by: Gabriel
Diffstat (limited to 'src/gui/graphicsview/qgraphicsitem.cpp')
-rw-r--r--src/gui/graphicsview/qgraphicsitem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem.cpp b/src/gui/graphicsview/qgraphicsitem.cpp
index 723e496..87ed5b7 100644
--- a/src/gui/graphicsview/qgraphicsitem.cpp
+++ b/src/gui/graphicsview/qgraphicsitem.cpp
@@ -9606,6 +9606,7 @@ void QGraphicsTextItem::setDefaultTextColor(const QColor &col)
QPalette pal = c->palette();
pal.setColor(QPalette::Text, col);
c->setPalette(pal);
+ update();
}
/*!