diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2010-07-19 05:26:37 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2010-07-19 05:26:37 (GMT) |
commit | 75131b7a1bfeeb033ea5b8bf62d50cc3d82d757e (patch) | |
tree | f674bb8ff88068887605655bc61b2d5a78956c71 /demos/qtdemo/mainwindow.cpp | |
parent | 8668f245b69da455ac7fe1d0a599226c1d6b9580 (diff) | |
download | Qt-75131b7a1bfeeb033ea5b8bf62d50cc3d82d757e.zip Qt-75131b7a1bfeeb033ea5b8bf62d50cc3d82d757e.tar.gz Qt-75131b7a1bfeeb033ea5b8bf62d50cc3d82d757e.tar.bz2 |
Remove the -use-blur option from qtdemo
It relied on the now missing pixmap property. Since it isn't used, it
doesn't seem worth the effort to update it to use a declarative image
provider instead.
Diffstat (limited to 'demos/qtdemo/mainwindow.cpp')
-rw-r--r-- | demos/qtdemo/mainwindow.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/demos/qtdemo/mainwindow.cpp b/demos/qtdemo/mainwindow.cpp index 753014a..16c5bf3 100644 --- a/demos/qtdemo/mainwindow.cpp +++ b/demos/qtdemo/mainwindow.cpp @@ -310,14 +310,6 @@ void MainWindow::checkAdapt() qDebug() << "- benchmark adaption: removed ticker (fps < 30)"; } - //Note: Because we don't adapt later in the program, if blur makes FPS plummet then we won't catch it - if (!Colors::noBlur && MenuManager::instance()->declarativeEngine && this->mainSceneRoot){ - Colors::noBlur = true; - MenuManager::instance()->declarativeEngine->rootContext()->setContextProperty("useBlur", false); - if (Colors::verbose) - qDebug() << "- benchmark adaption: removed blur (fps < 30)"; - } - if (this->fpsMedian < 20){ Colors::noAnimations = true; if (Colors::verbose) |