Try workarounding bug #663 ("Teh Systray Heisenbug")
[quassel.git] / src / uisupport / bufferview.cpp
index 086af0a..45ff000 100644 (file)
@@ -75,6 +75,9 @@ void BufferView::init() {
 
   setAnimated(true);
 
+  // FIXME This is to workaround bug #663
+  setUniformRowHeights(true);
+
 #ifndef QT_NO_DRAGANDDROP
   setDragEnabled(true);
   setAcceptDrops(true);
@@ -276,7 +279,9 @@ void BufferView::removeSelectedBuffers(bool permanently) {
       continue;
 
     removedRows << bufferId;
+  }
 
+  foreach(BufferId bufferId, removedRows) {
     if(permanently)
       config()->requestRemoveBufferPermanently(bufferId);
     else