fixing it everywhere :P
authorMarcus Eggenberger <egs@quassel-irc.org>
Sun, 31 Aug 2008 12:50:49 +0000 (14:50 +0200)
committerMarcus Eggenberger <egs@quassel-irc.org>
Sun, 31 Aug 2008 12:50:49 +0000 (14:50 +0200)
src/qtui/chatview.cpp

index ce79b65..6bdc650 100644 (file)
@@ -50,7 +50,7 @@ void ChatView::init(MessageFilter *filter) {
   setAlignment(Qt::AlignBottom);
   setInteractive(true);
 
-  _scene = new ChatScene(filter, filter->idString(), viewport()->width(), this);
+  _scene = new ChatScene(filter, filter->idString(), viewport()->width() - 2, this); // see below: resizeEvent()
   connect(_scene, SIGNAL(sceneHeightChanged(qreal)), this, SLOT(sceneHeightChanged(qreal)));
   setScene(_scene);