fixing the creating of new buffers in the client. bye bye Client::buffer(BufferId)
[quassel.git] / src / qtui / bufferwidget.cpp
index a18a18c..fc06346 100644 (file)
@@ -31,7 +31,7 @@ BufferWidget::BufferWidget(QWidget *parent) : AbstractBufferContainer(parent) {
 
 AbstractChatView *BufferWidget::createChatView(BufferId id) {
   ChatView *chatView;
-  chatView = new ChatView(Client::buffer(id), this);
+  chatView = new ChatView(id, this);
   _chatViews[id] = chatView;
   ui.stackedWidget->addWidget(chatView);
   chatView->setFocusProxy(this);