# HG changeset patch # User nemo # Date 1242565498 0 # Node ID 0faa147c47df29ada02ada62f7c19a9ce9ef9e69 # Parent 28891bb36ba5e793a59d2efd2ada3e1d76cfa152 Still trying to improve perf of stars - this seems to help a little bit diff -r 28891bb36ba5 -r 0faa147c47df QTfrontend/bgwidget.cpp --- a/QTfrontend/bgwidget.cpp Sun May 17 13:03:56 2009 +0000 +++ b/QTfrontend/bgwidget.cpp Sun May 17 13:04:58 2009 +0000 @@ -65,6 +65,7 @@ BGWidget::BGWidget(QWidget * parent) : QWidget(parent) { + setAttribute(Qt::WA_NoSystemBackground, true); sprite.load(":/res/Star.png"); setAutoFillBackground(false); diff -r 28891bb36ba5 -r 0faa147c47df QTfrontend/pages.cpp --- a/QTfrontend/pages.cpp Sun May 17 13:03:56 2009 +0000 +++ b/QTfrontend/pages.cpp Sun May 17 13:04:58 2009 +0000 @@ -64,6 +64,7 @@ PageMain::PageMain(QWidget* parent) : AbstractPage(parent) { + setAttribute(Qt::WA_NoSystemBackground, true); QGridLayout * pageLayout = new QGridLayout(this); //pageLayout->setColumnStretch(0, 1); //pageLayout->setColumnStretch(1, 2);