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

List:       kde-commits
Subject:    kdebase/libkonq
From:       Martin Koller <m.koller () surfeu ! at>
Date:       2005-01-01 22:09:33
Message-ID: 20050101220933.9164C1B3CC () office ! kde ! org
[Download RAW message or body]

CVS commit by mkoller: 

Don't do the additional update if there are no scrollbars (e.g. on the desktop) to avoid flickers


  M +2 -1      konq_filetip.cc   1.4


--- kdebase/libkonq/konq_filetip.cc  #1.3:1.4
@@ -250,5 +250,6 @@ void KonqFileTip::hideTip()
     m_timer->stop();
     setFilter( false );
-    if ( isShown() && m_view && m_view->viewport() )
+    if ( isShown() && m_view && m_view->viewport() &&
+         (m_view->horizontalScrollBar()->isShown() || m_view->verticalScrollBar()->isShown()) )
       m_view->viewport()->update();
     hide();


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

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