clean up some unnecessary stuff

This commit is contained in:
ouwou
2021-05-14 03:16:52 -04:00
parent f53b9742cb
commit 223a185124
13 changed files with 20 additions and 41 deletions

View File

@@ -1,6 +1,5 @@
#include "guildsettingswindow.hpp"
#include "../abaddon.hpp"
#include "../components/inotifyswitched.hpp"
GuildSettingsWindow::GuildSettingsWindow(Snowflake id)
: m_main(Gtk::ORIENTATION_VERTICAL)
@@ -42,11 +41,6 @@ GuildSettingsWindow::GuildSettingsWindow(Snowflake id)
m_switcher.set_margin_top(10);
m_switcher.show();
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_pane_info.show();
m_pane_members.show();
m_pane_roles.show();