summary refs log tree commit diff
path: root/src/ChatPage.cc
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-08-05 15:59:24 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-08-05 15:59:24 +0300
commitaf0f22fc9102e931a0d4cee43f642d084e5e539f (patch)
tree48e88e8163c25920de722ba7d10de7a410a256be /src/ChatPage.cc
parentParse utf-8 data properly (diff)
downloadnheko-af0f22fc9102e931a0d4cee43f642d084e5e539f.tar.xz
Keep fetching history until the scrollbar gets activated
Diffstat (limited to 'src/ChatPage.cc')
-rw-r--r--src/ChatPage.cc2
1 files changed, 1 insertions, 1 deletions
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<MatrixClient> 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);