mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-19 20:11:59 +03:00
clean up some unnecessary stuff
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user