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

List:       kde-commits
Subject:    kdebase/konqueror/listview
From:       Martin Koller <m.koller () surfeu ! at>
Date:       2004-12-28 15:07:13
Message-ID: 20041228150713.91F2B1BA30 () office ! kde ! org
[Download RAW message or body]

CVS commit by mkoller: 

when scrolling with mousewheel, stop possible pending filetip


  M +7 -1      konq_listviewwidget.cc   1.261
  M +1 -0      konq_listviewwidget.h   1.97


--- kdebase/konqueror/listview/konq_listviewwidget.cc  #1.260:1.261
@@ -116,5 +116,4 @@ KonqBaseListViewWidget::KonqBaseListView
    setDragEnabled(true);
    setItemsMovable(false);
-   setShadeSortColumn(true);
 
    initConfig();
@@ -508,4 +507,11 @@ void KonqBaseListViewWidget::contentsMou
 }
 
+void KonqBaseListViewWidget::contentsWheelEvent( QWheelEvent * e )
+{
+   // when scrolling with mousewheel, stop possible pending filetip
+   m_fileTip->setItem( 0 );
+   KListView::contentsWheelEvent( e );
+}
+
 void KonqBaseListViewWidget::drawRubber()
 {

--- kdebase/konqueror/listview/konq_listviewwidget.h  #1.96:1.97
@@ -212,4 +212,5 @@ protected:
    virtual void contentsMouseReleaseEvent( QMouseEvent *e );
    virtual void contentsMouseMoveEvent( QMouseEvent *e );
+   virtual void contentsWheelEvent( QWheelEvent * e );
 
    virtual void leaveEvent( QEvent * );


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

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