Removed disabled button states, don't open panel without buttons
[situare] / src / ui / friendlistpanel.h
index ae1b26a..6a2723e 100644 (file)
@@ -169,13 +169,6 @@ private slots:
     void routeToSelectedFriend();
 
     /**
-    * @brief Sets route button disabled.
-    *
-    * Disabled if there isn't any list item selected.
-    */
-    void setRouteButtonDisabled();
-
-    /**
      * @brief Slot to show friends in list.
      *
      * Shows only friends that are on userIDs list
@@ -217,17 +210,17 @@ private:
     bool m_mainWindowIsTopmost;                 ///< Is the MainWindow the topmost one
     bool m_somePanelIsOpen;                     ///< Is any panel tab open
 
-    QLabel *m_friendListLabel;                  ///< Friend list label
+    QLabel *m_headerLabel;                      ///< Show how many friends are selected
 
     QLineEdit *m_filterField;                   ///< Text field for the filter text
 
-    QPushButton *m_clearTextFilteringButton;    ///< Button for clearing the filtering
+    QPushButton *m_clearTextFilteringButton;    ///< Button for clearing the text filtering
 
-    QWidget *m_friendListHeaderWidget;          ///< Friend list header widget
+    QWidget *m_headerWidget;                    ///< Friend list header widget
 
     FriendListView *m_friendListView;           ///< Friend list view
     ImageButton *m_clearGroupFilteringButton;   ///< Button for clearing friend group filtering
-    ImageButton *m_routeButton;                 ///< Button to route to friend
+    ImageButton *m_routeButton;                 ///< Button for routing to selected friend
 };
 
 #endif // FRIENDLISTPANEL_H