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/profilewindow.cpp | |
parent | f53b9742cb6f8e9b3e6c3c18344fbe9193a4e438 (diff) | |
download | abaddon-portaudio-223a18512473fc790f6ad72a8344061de92812c8.tar.gz abaddon-portaudio-223a18512473fc790f6ad72a8344061de92812c8.zip |
clean up some unnecessary stuff
Diffstat (limited to 'windows/profilewindow.cpp')
-rw-r--r-- | windows/profilewindow.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/windows/profilewindow.cpp b/windows/profilewindow.cpp index 2e41692..d0fefc7 100644 --- a/windows/profilewindow.cpp +++ b/windows/profilewindow.cpp @@ -1,6 +1,5 @@ #include "profilewindow.hpp" #include "../abaddon.hpp" -#include "../components/inotifyswitched.hpp" ProfileWindow::ProfileWindow(Snowflake user_id) : ID(user_id) @@ -71,11 +70,6 @@ ProfileWindow::ProfileWindow(Snowflake user_id) m_switcher.set_halign(Gtk::ALIGN_START); m_switcher.set_hexpand(true); - m_stack.property_visible_child().signal_changed().connect([this]() { - if (auto *w = dynamic_cast<INotifySwitched *>(m_stack.property_visible_child().get_value())) - w->on_switched_to(); - }); - m_stack.add(m_pane_info, "info", "User Info"); m_stack.add(m_pane_guilds, "guilds", "Mutual Servers"); m_stack.add(m_pane_friends, "friends", "Mutual Friends"); |