FriendListPanel *friendsListPanel = new FriendListPanel(this);
UserInfoPanel *userPanel = new UserInfoPanel(this);
- PanelSideBar *userPanelSidebar = new PanelSideBar(this, "left");
- PanelSideBar *friendsListPanelSidebar = new PanelSideBar(this, "right");
+ PanelSideBar *userPanelSidebar = new PanelSideBar(this, LEFT);
+ PanelSideBar *friendsListPanelSidebar = new PanelSideBar(this, RIGHT);
connect(mapView, SIGNAL(viewScrolled(QPoint)),
mapEngine, SLOT(setLocation(QPoint)));
connect(mapView, SIGNAL(viewResizedNewSize(int,int)),
friendsListPanelSidebar, SLOT(reDrawSidebar(int,int)));
-
- connect(this, SIGNAL(SIG_friendsLocationsReady(QList<User*>&)),
- friendsListPanel, SLOT(friendInfoReceived(QList<User*>&)));
+// connect(this, SIGNAL(SIG_friendsLocationsReady(QList<User*>&)),
+// friendsListPanel, SLOT(friendInfoReceived(QList<User*>&)));
QHBoxLayout *mapViewLayout = new QHBoxLayout;