X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fui%2Ffriendlistpanel.cpp;h=5e461e520266b80ae0a000e7936ac876dceb9171;hb=45cde4dd3136f1490a7ffba61c226fb3e13f92d9;hp=3dfd9e50f56d6c00f3a78eec0e4310d3cfa727d9;hpb=14572ca4566bc4c07b5a5fe540f8e7caa0edf467;p=situare diff --git a/src/ui/friendlistpanel.cpp b/src/ui/friendlistpanel.cpp index 3dfd9e5..5e461e5 100644 --- a/src/ui/friendlistpanel.cpp +++ b/src/ui/friendlistpanel.cpp @@ -85,6 +85,9 @@ FriendListPanel::FriendListPanel(QWidget *parent) connect(m_friendListView, SIGNAL(listItemSelectionChanged()), this, SLOT(setRouteButtonDisabled())); + connect(m_friendListView, SIGNAL(listItemSelectionChanged()), + this, SLOT(onListItemSelectionChanged())); + // --- FOOTER, TEXT BASED FILTERING --- QHBoxLayout *footerLayout = new QHBoxLayout(); @@ -133,8 +136,8 @@ FriendListPanel::FriendListPanel(QWidget *parent) connect(m_clearGroupFilteringButton, SIGNAL(clicked()), this, SLOT(clearFiltering())); - m_contextButtonLayout->addWidget(m_routeButton); - m_contextButtonLayout->addWidget(m_clearGroupFilteringButton); + m_itemButtonsLayout->addWidget(m_routeButton); + m_genericButtonsLayout->addWidget(m_clearGroupFilteringButton); } void FriendListPanel::anyPanelClosed()