From af0f22fc9102e931a0d4cee43f642d084e5e539f Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Sat, 5 Aug 2017 15:59:24 +0300 Subject: Keep fetching history until the scrollbar gets activated --- src/ChatPage.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ChatPage.cc') diff --git a/src/ChatPage.cc b/src/ChatPage.cc index 5a5a497e..dbfa7c5c 100644 --- a/src/ChatPage.cc +++ b/src/ChatPage.cc @@ -102,7 +102,7 @@ ChatPage::ChatPage(QSharedPointer client, QWidget *parent) splitter->addWidget(sideBar_); splitter->addWidget(content_); - room_list_ = new RoomList(client, this); + room_list_ = new RoomList(client, sideBar_); sideBarMainLayout_->addWidget(room_list_); top_bar_ = new TopRoomBar(this); -- cgit 1.5.1