Re-factored the source to use the new coordinate classes
[situare] / src / ui / friendlistpanel.cpp
index 6ce3037..bd99202 100644 (file)
     USA.
  */
 
-#include "friendlistpanel.h"
+#include "coordinates/geocoordinate.h"
 #include "friendlistview.h"
 #include "friendlistitem.h"
 #include "panelcommon.h"
 #include "sidepanel.h"
 
+#include "friendlistpanel.h"
+
 FriendListPanel::FriendListPanel(QWidget *parent)
     : SidePanel(parent)
 {
@@ -87,8 +89,8 @@ void FriendListPanel::friendInfoReceived(QList<User *> &friendList)
             item->setData(user);
             m_friendListView->addWidget(user->userId(), item);
 
-            connect(item, SIGNAL(findFriend(QPointF)),
-                this, SIGNAL(findFriend(QPointF)));
+            connect(item, SIGNAL(findFriend(GeoCoordinate)),
+                this, SIGNAL(findFriend(GeoCoordinate)));
         }
         else {
             item = m_friendListView->takeWidgetFromView(user->userId());