Update ChatView properly on style changes
[quassel.git] / src / qtui / chatview.cpp
index 440cc4d..85fb48a 100644 (file)
@@ -73,7 +73,6 @@ void ChatView::init(MessageFilter *filter) {
   setScene(_scene);
 
   connect(verticalScrollBar(), SIGNAL(valueChanged(int)), this, SLOT(verticalScrollbarChanged(int)));
-  connect(QtUi::style(), SIGNAL(changed()), this, SLOT(styleChanged()));
 }
 
 bool ChatView::event(QEvent *event) {
@@ -172,10 +171,6 @@ void ChatView::verticalScrollbarChanged(int newPos) {
     vbar->setValue(vbar->maximum());
 }
 
-void ChatView::styleChanged() {
-  scene()->layout();
-}
-
 MsgId ChatView::lastMsgId() const {
   if(!scene())
     return MsgId();