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

List:       kde-commits
Subject:    kdebase/konqueror/listview
From:       Michael Brade <brade () kde ! org>
Date:       2005-02-02 15:56:44
Message-ID: 20050202155644.C5F691BB87 () office ! kde ! org
[Download RAW message or body]

CVS commit by brade: 

Also reset the statusbar and the active item when scrolling with the wheel.


  M +10 -1     konq_listviewwidget.cc   1.266


--- kdebase/konqueror/listview/konq_listviewwidget.cc  #1.265:1.266
@@ -510,8 +510,17 @@ void KonqBaseListViewWidget::contentsMou
 }
 
-void KonqBaseListViewWidget::contentsWheelEvent( QWheelEvent * e )
+void KonqBaseListViewWidget::contentsWheelEvent( QWheelEvent *e )
 {
    // when scrolling with mousewheel, stop possible pending filetip
    m_fileTip->setItem( 0 );
+
+   if ( m_activeItem != 0 )
+   {
+      m_activeItem->setActive( false );
+      m_activeItem = 0;
+   }
+
+   reportItemCounts();
+   m_pBrowserView->emitMouseOver( 0 );
    KListView::contentsWheelEvent( e );
 }


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

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