aboutsummaryrefslogtreecommitdiff
path: root/plainqt
diff options
context:
space:
mode:
authorTorsten Rahn <Torsten.Rahn@basyskom.de>2010-06-11 13:09:19 +0200
committerTorsten Rahn <Torsten.Rahn@basyskom.de>2010-06-11 13:09:19 +0200
commit09e75dd60abea8aa8637c21ff6ebd40a989392a8 (patch)
tree03a7f9333385a59c76c0246cd1307a2cd8ccbb05 /plainqt
parentaadbb123ddf5cd954045767dbc56c63e0a68a23b (diff)
Changes: Really fix the title bar color.
RevBy: Bernd Lamecker
Diffstat (limited to 'plainqt')
-rw-r--r--plainqt/style/qtmaemo6style.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plainqt/style/qtmaemo6style.cpp b/plainqt/style/qtmaemo6style.cpp
index 082e3a4c..4ad8e5ba 100644
--- a/plainqt/style/qtmaemo6style.cpp
+++ b/plainqt/style/qtmaemo6style.cpp
@@ -239,7 +239,7 @@ void QtMaemo6StylePrivate::drawWindowBackground(QWidget *widget)
painter.end();
- QPalette palette;
+ QPalette palette = widget->palette();
palette.setBrush(widget->backgroundRole(), QBrush(backgroundPixmap));
widget->setPalette(palette);
}