calendarui/application/src/main.cpp
changeset 57 bb2d3e476f29
parent 55 2c54b51f39c4
--- a/calendarui/application/src/main.cpp	Mon Jul 26 13:54:38 2010 +0530
+++ b/calendarui/application/src/main.cpp	Mon Aug 09 18:30:52 2010 +0530
@@ -38,6 +38,12 @@
 
 	// Main window for providing the scene context
 	HbMainWindow window;
+	// Flags to gain some optimizations from the framework
+	// TODO: Check if orbit itself is setting these flags in mainwindow
+	// If yes, then we need not set here
+	window.setOptimizationFlags(QGraphicsView::DontAdjustForAntialiasing);
+    window.setRenderHint(QPainter::TextAntialiasing, false);
+
 	
 	//For translation, loading and installing translator
 	HbTranslator translator("calendar");