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