Make selections in bufferviews (mostly) synchronous again.
[quassel.git] / gui / mainwin.cpp
index 3d2df39..35441a1 100644 (file)
@@ -36,8 +36,6 @@
 #include "settingsdlg.h"
 #include "settingspages.h"
 
-LayoutThread *layoutThread;
-
 MainWin::MainWin() : QMainWindow() {
   ui.setupUi(this);
   //widget = 0;
@@ -144,6 +142,7 @@ void MainWin::setupMenus() {
 }
 
 void MainWin::setupViews() {
+  
   BufferTreeModel *model = Client::bufferModel(); // FIXME Where is the delete for that? :p
   connect(model, SIGNAL(bufferSelected(Buffer *)), this, SLOT(showBuffer(Buffer *)));
   //connect(this, SIGNAL(bufferSelected(Buffer *)), model, SLOT(selectBuffer(Buffer *)));
@@ -223,7 +222,7 @@ void MainWin::showBuffer(Buffer *b) {
   //emit bufferSelected(b);
   //qApp->processEvents();
   ui.bufferWidget->setBuffer(b);
-  //emit bufferSelected(b); // FIXME do we need this?
+  //emit bufferSelected(b);
 }
 
 void MainWin::importBacklog() {