Qt: messages: remove manual block update
authorFrancois Cartegnie <fcvlcdev@free.fr>
Tue, 16 Apr 2019 13:11:08 +0000 (15:11 +0200)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Tue, 16 Apr 2019 13:27:58 +0000 (15:27 +0200)
modules/gui/qt/dialogs/messages.cpp

index 88b6cfc..a09178d 100644 (file)
@@ -254,9 +254,6 @@ void MessagesDialog::sinkMessage( const MsgEvent *msg )
     QTextBlock b = messages->document()->lastBlock();
     b.setVisible( matchFilter( b.text() ) );
 
-    /* Tell the QTextDocument to recompute the size of the given area */
-    messages->document()->markContentsDirty( b.position(), b.length() );
-
     if ( b_autoscroll ) messages->ensureCursorVisible();
 }