Merge branch 'list_panel'
[situare] / src / map / mapengine.cpp
index 89f799a..fce2881 100644 (file)
@@ -60,7 +60,7 @@ MapEngine::MapEngine(QObject *parent)
     connect(m_mapZoomPanel, SIGNAL(zoomInPressed()), this, SLOT(zoomIn()));
     connect(m_mapZoomPanel, SIGNAL(zoomOutPressed()), this, SLOT(zoomOut()));
 
-    m_ownLocation = new OwnLocationItem(QPoint(UNDEFINED, UNDEFINED));
+    m_ownLocation = new OwnLocationItem();
     m_ownLocation->hide(); // hide until first location info is received
     m_mapScene->addItem(m_ownLocation);
 
@@ -69,7 +69,7 @@ MapEngine::MapEngine(QObject *parent)
             m_friendItemsHandler, SLOT(refactorFriendItems(int)));
 
     connect(this, SIGNAL(friendsLocationsReady(QList<User*>&)),
-            m_friendItemsHandler, SLOT(receiveFriendLocations(QList<User*>&)));
+            m_friendItemsHandler, SLOT(friendListUpdated(QList<User*>&)));
 }
 
 void MapEngine::init()