calendarui/agendaeventviewer/src/agendaeventview.cpp
changeset 37 360d55486d7f
parent 32 ea672fcb0ea0
child 49 5de72ea7a065
--- a/calendarui/agendaeventviewer/src/agendaeventview.cpp	Thu May 27 12:51:15 2010 +0300
+++ b/calendarui/agendaeventviewer/src/agendaeventview.cpp	Fri Jun 11 13:37:54 2010 +0300
@@ -532,18 +532,7 @@
         mMaptilePath = MapTileService::getMapTileImage(eventId, addressType);
         if (!mMaptilePath.isNull())
         {                        
-            QIcon mapTileIcon(mMaptilePath);
-            QPainter painter;
-            QPixmap baloon(HbIcon("qtg_small_location").pixmap());
-            QPixmap map (mapTileIcon.pixmap(width,height));
-            //Display pin image in the center of maptile image
-            painter.begin( &map );
-            painter.drawPixmap( (width/2)-(baloon.width()/2), 
-                          (height/2)-baloon.height(), baloon );
-            painter.end();
-            mapTileIcon.addPixmap( map );          
-            
-            HbIcon maptile(mapTileIcon);
+            HbIcon maptile(mMaptilePath);
             mMaptileLabel->setIcon(maptile);        
 
             mMaptileLabel->setPreferredSize(QSizeF(width, height));