X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatview.cpp;h=85fb48ac52c992f50206ee4b1b8ebfbcf56b13e4;hp=440cc4da71c652764a2a0584e45088efecdf0d1e;hb=d7a7c6e5242fd0f500b2c1c75579c9db81a91d0c;hpb=00f633d013c9c9b87ae811c62daca40c1f73d1b8 diff --git a/src/qtui/chatview.cpp b/src/qtui/chatview.cpp index 440cc4da..85fb48ac 100644 --- a/src/qtui/chatview.cpp +++ b/src/qtui/chatview.cpp @@ -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();