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

List:       amarok-bugs-dist
Subject:    [Bug 222500] Drag-and-Drop is often triggered accidentally
From:       Kevin Funk <krf () electrostorm ! net>
Date:       2010-02-28 18:49:21
Message-ID: 20100228184921.C62D735462 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=222500


Kevin Funk <krf@electrostorm.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Kevin Funk <krf electrostorm net>  2010-02-28 19:49:19 ---
commit 296415c88a3aeca7df1446c9279aa3512a81052c
Author: Kevin Funk <krf@electrostorm.net>
Date:   Sun Feb 28 18:39:57 2010 +0100

    Fix odd behaviour when doing drag-and-drop from Collection browser.
    BUG: 222500

diff --git a/ChangeLog b/ChangeLog
index 16a12ad..20bc152 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -28,6 +28,8 @@ VERSION 2.3
       last check.

   BUGFIXES:
+    * Fixed odd behaviour when doing drag-and-drop from Collection browser.
+      (BR 222500)
     * Show artist and title instead of raw track ID when copying/deleting
       tracks on an MTP device.
     * Fixed time labels getting truncated in the slim toolbar. (BR 195935)
diff --git a/src/browsers/CollectionTreeView.cpp
b/src/browsers/CollectionTreeView.cpp
index c84c9d6..9332a8d 100644
--- a/src/browsers/CollectionTreeView.cpp
+++ b/src/browsers/CollectionTreeView.cpp
@@ -375,10 +375,8 @@ void CollectionTreeView::mouseMoveEvent( QMouseEvent
*event )
     {
         m_clickTimer.stop();
         slotClickTimeout();
-        event->accept();
     }
-    else
-        Amarok::PrettyTreeView::mouseMoveEvent( event );
+    event->accept();
 }

 CollectionTreeItem* CollectionTreeView::getItemFromIndex( QModelIndex &index )

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Amarok-bugs-dist mailing list
Amarok-bugs-dist@kde.org
https://mail.kde.org/mailman/listinfo/amarok-bugs-dist
[prev in list] [next in list] [prev in thread] [next in thread] 

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