connect(m_clearFilterButton, SIGNAL(clicked()),
this, SLOT(clearFriendListFilter()));
- connect(this, SIGNAL(panelOpened()),
- this, SLOT(clearFriendListFilter()));
+
+// connect(this, SIGNAL(panelOpened()),
+// this, SLOT(clearFriendListFilter()));
}
void FriendListPanel::friendImageReady(User *user)
m_tabbedPanel->addTab(m_userInfoPanel, QIcon(":/res/images/user_info.png"));
m_tabbedPanel->addTab(m_friendsListPanel, QIcon(":/res/images/friend_list.png"));
+ connect(m_tabbedPanel, SIGNAL(panelOpened()),
+ m_friendsListPanel, SLOT(clearFriendListFilter()));
+
connect(m_mapView, SIGNAL(viewResized(QSize)),
m_tabbedPanel, SLOT(resizePanel(QSize)));
}
*
* @param parent Parent
*/
- PanelBar(QWidget *parent);
+ PanelBar(QWidget *parent = 0);
/*******************************************************************************
* BASE CLASS INHERITED AND REIMPLEMENTED MEMBER FUNCTIONS
*
* @param parent Parent
*/
- PanelBase(QWidget *parent);
+ PanelBase(QWidget *parent = 0);
/*******************************************************************************
* BASE CLASS INHERITED AND REIMPLEMENTED MEMBER FUNCTIONS
*
* @param parent Parent
*/
- TabbedPanel(QWidget *parent);
+ TabbedPanel(QWidget *parent = 0);
/*******************************************************************************
* MEMBER FUNCTIONS AND SLOTS