Correctly resize ChatView height on disconnect
authorManuel Nickschas <sputnick@quassel-irc.org>
Mon, 18 Aug 2008 06:48:54 +0000 (08:48 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 18 Aug 2008 06:48:54 +0000 (08:48 +0200)
src/qtui/chatscene.cpp

index 33a13c5..681996a 100644 (file)
@@ -140,6 +140,7 @@ void ChatScene::modelReset() {
   }
   _lines.clear();
   setSceneRect(QRectF(0, 0, _width, 0));
   }
   _lines.clear();
   setSceneRect(QRectF(0, 0, _width, 0));
+  emit heightChanged(0);
 }
 
 void ChatScene::setWidth(qreal w) {
 }
 
 void ChatScene::setWidth(qreal w) {