[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/base/plasma/libs/jsanimation
From:       Adenilson Cavalcanti Da Silva <cavalcantii () gmail ! com>
Date:       2010-03-31 22:06:30
Message-ID: 20100331220630.5F9D4AC88B () svn ! kde ! org
[Download RAW message or body]

SVN commit 1109732 by adasilva:

Small tweaks on the view.

 M  +3 -0      javascriptanimationtest.cpp  


--- trunk/playground/base/plasma/libs/jsanimation/javascriptanimationtest.cpp #1109731:1109732
@@ -97,6 +97,9 @@
 
     QObject::connect(first, SIGNAL(clicked()), group, SLOT(start()));
 
+    view->setViewportUpdateMode(QGraphicsView::BoundingRectViewportUpdate);
+    view->setRenderHints(QPainter::Antialiasing | QPainter::SmoothPixmapTransform);
+
 #if defined(Q_OS_SYMBIAN)
     view->showFullScreen();
 #else
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic