diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-05-14 03:16:52 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-05-14 03:16:52 -0400 |
commit | 223a18512473fc790f6ad72a8344061de92812c8 (patch) | |
tree | b4cb11df15d182de18bfe93bca60f3f24411aeac /windows/profile/mutualfriendspane.cpp | |
parent | f53b9742cb6f8e9b3e6c3c18344fbe9193a4e438 (diff) | |
download | abaddon-portaudio-223a18512473fc790f6ad72a8344061de92812c8.tar.gz abaddon-portaudio-223a18512473fc790f6ad72a8344061de92812c8.zip |
clean up some unnecessary stuff
Diffstat (limited to 'windows/profile/mutualfriendspane.cpp')
-rw-r--r-- | windows/profile/mutualfriendspane.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/windows/profile/mutualfriendspane.cpp b/windows/profile/mutualfriendspane.cpp index 7d30453..5e6120a 100644 --- a/windows/profile/mutualfriendspane.cpp +++ b/windows/profile/mutualfriendspane.cpp @@ -34,6 +34,7 @@ MutualFriendItem::MutualFriendItem(const UserData &user) MutualFriendsPane::MutualFriendsPane(Snowflake id) : UserID(id) { + signal_map().connect(sigc::mem_fun(*this, &MutualFriendsPane::OnMap)); add(m_list); show_all_children(); } @@ -49,7 +50,7 @@ void MutualFriendsPane::OnFetchRelationships(const std::vector<UserData> &users) } } -void MutualFriendsPane::on_switched_to() { +void MutualFriendsPane::OnMap() { if (m_requested) return; m_requested = true; |