homescreenapp/hsapplication/src/main.cpp
changeset 46 23b5d6a29cce
parent 39 4e8ebe173323
child 60 30f14686fb04
equal deleted inserted replaced
39:4e8ebe173323 46:23b5d6a29cce
   121     copyWallpapersFromRom();
   121     copyWallpapersFromRom();
   122 #endif
   122 #endif
   123     
   123     
   124     HbMainWindow window;
   124     HbMainWindow window;
   125     window.setRenderHint(QPainter::SmoothPixmapTransform);
   125     window.setRenderHint(QPainter::SmoothPixmapTransform);
       
   126     window.setViewportUpdateMode(QGraphicsView::FullViewportUpdate);
   126         
   127         
   127     HsHomeScreen hs;
   128     HsHomeScreen hs;
   128     QObject::connect(&app, SIGNAL(aboutToQuit()) ,&hs, SLOT(stop()));
   129     QObject::connect(&app, SIGNAL(aboutToQuit()) ,&hs, SLOT(stop()));
   129     QObject::connect(&hs, SIGNAL(exit()), &app, SLOT(quit()),Qt::QueuedConnection);
   130     QObject::connect(&hs, SIGNAL(exit()), &app, SLOT(quit()),Qt::QueuedConnection);
   130     hs.start();
   131     hs.start();