diff options
Diffstat (limited to 'src/windows')
-rw-r--r-- | src/windows/mainwindow.cpp | 3 | ||||
-rw-r--r-- | src/windows/mainwindow.hpp | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/windows/mainwindow.cpp b/src/windows/mainwindow.cpp index 729dcc5..8e030ed 100644 --- a/src/windows/mainwindow.cpp +++ b/src/windows/mainwindow.cpp @@ -1,5 +1,4 @@ #include "mainwindow.hpp" -#include "components/channellist/channellisttree.hpp" MainWindow::MainWindow() : m_main_box(Gtk::ORIENTATION_VERTICAL) @@ -235,7 +234,7 @@ void MainWindow::OnViewSubmenuPopup() { } } -ChannelListTree *MainWindow::GetChannelList() { +ChannelList *MainWindow::GetChannelList() { return &m_channel_list; } diff --git a/src/windows/mainwindow.hpp b/src/windows/mainwindow.hpp index 19222b8..37c1b87 100644 --- a/src/windows/mainwindow.hpp +++ b/src/windows/mainwindow.hpp @@ -1,5 +1,5 @@ #pragma once -#include "components/channellist/channellisttree.hpp" +#include "components/channellist/channellist.hpp" #include "components/chatwindow.hpp" #include "components/memberlist.hpp" #include "components/friendslist.hpp" @@ -39,7 +39,7 @@ public: void GoToTab(int idx); #endif - ChannelListTree *GetChannelList(); + ChannelList *GetChannelList(); ChatWindow *GetChatWindow(); MemberList *GetMemberList(); @@ -54,7 +54,7 @@ private: Gtk::Paned m_chan_content_paned; Gtk::Paned m_content_members_paned; - ChannelListTree m_channel_list; + ChannelList m_channel_list; ChatWindow m_chat; MemberList m_members; FriendsList m_friends; |