[vlc-commits] Qt: messages: remove manual block update

Francois Cartegnie git at videolan.org
Tue Apr 16 15:28:14 CEST 2019


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Apr 16 15:11:08 2019 +0200| [b7082cc28bc4066d45a0a4264fdae11d60c0025e] | committer: Francois Cartegnie

Qt: messages: remove manual block update

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b7082cc28bc4066d45a0a4264fdae11d60c0025e
---

 modules/gui/qt/dialogs/messages.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/gui/qt/dialogs/messages.cpp b/modules/gui/qt/dialogs/messages.cpp
index 88b6cfcad7..a09178d12e 100644
--- a/modules/gui/qt/dialogs/messages.cpp
+++ b/modules/gui/qt/dialogs/messages.cpp
@@ -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();
 }
 



More information about the vlc-commits mailing list