calendarui/application/src/main.cpp
changeset 57 bb2d3e476f29
parent 55 2c54b51f39c4
equal deleted inserted replaced
55:2c54b51f39c4 57:bb2d3e476f29
    36 				new CalenApplication(argc, argv));
    36 				new CalenApplication(argc, argv));
    37 	//CalenApplication *application = new CalenApplication(argc, argv);
    37 	//CalenApplication *application = new CalenApplication(argc, argv);
    38 
    38 
    39 	// Main window for providing the scene context
    39 	// Main window for providing the scene context
    40 	HbMainWindow window;
    40 	HbMainWindow window;
       
    41 	// Flags to gain some optimizations from the framework
       
    42 	// TODO: Check if orbit itself is setting these flags in mainwindow
       
    43 	// If yes, then we need not set here
       
    44 	window.setOptimizationFlags(QGraphicsView::DontAdjustForAntialiasing);
       
    45     window.setRenderHint(QPainter::TextAntialiasing, false);
       
    46 
    41 	
    47 	
    42 	//For translation, loading and installing translator
    48 	//For translation, loading and installing translator
    43 	HbTranslator translator("calendar");
    49 	HbTranslator translator("calendar");
    44 	translator.loadCommon();
    50 	translator.loadCommon();
    45 	
    51