[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/kopete/libkopete/ui
From:       Jason Keirstead <jason () keirstead ! org>
Date:       2003-03-09 17:22:22
[Download RAW message or body]

CVS commit by brunes: 

Limit the view to the buffer size. Still need to add a GUI to
configure this


  M +3 -0      chatview.cpp   1.194


--- kdenonbeta/kopete/libkopete/ui/chatview.cpp  #1.193:1.194
@@ -816,4 +816,7 @@ void ChatView::addChatMessage( KopeteMes
                 newNode.setInnerHTML( resultHTML );
                 chatView->htmlDocument().body().appendChild( newNode );
+                if( m_msgBuffer.count() == 250 )
+                        chatView->htmlDocument().body().removeChild( \
chatView->htmlDocument().body().firstChild() ); +
                 if( !scrollPressed )
                         QTimer::singleShot( 1, this, SLOT( slotScrollView() ) );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic