From 0718cddc3ac33bbb8102889e3ce9a88439921c5c Mon Sep 17 00:00:00 2001 From: Alexey Shilov Date: Thu, 15 Dec 2011 14:54:31 +0200 Subject: [PATCH] Changes: Set explicitly background color for performance test application RevBy: TrustMe --- tests/common/testapps/testapp/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/common/testapps/testapp/main.cpp b/tests/common/testapps/testapp/main.cpp index d1f67c9..2870c2b 100644 --- a/tests/common/testapps/testapp/main.cpp +++ b/tests/common/testapps/testapp/main.cpp @@ -27,6 +27,8 @@ #include #include +#include +#include #include #include @@ -130,6 +132,10 @@ int main(int argc, char **argv) { p.appear(); timestamp("page.appear() called"); + //set background color + QBrush brush(QColor(0, 115, 125, 255)); + w->setBackgroundBrush(brush); + w->show(); timestamp("w->show() called"); }