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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/applets/kickoff/ui
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2009-04-30 15:30:37
Message-ID: 1241105437.179304.25985.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 961735 by aseigo:

don't start a second "phantom drag"; not sure if this is why has been triggering \
BR#180640, but that code was obviously wrong and was causing visible functionality \
bugs in any case. 

can one of the affected reporters on BR#180640 who use KDE from svn please update \
kickoff and see if this also fixes their issues for them? CCBUG:180640


 M  +2 -6      urlitemview.cpp  


--- trunk/KDE/kdebase/workspace/plasma/applets/kickoff/ui/urlitemview.cpp \
#961734:961735 @@ -601,7 +601,7 @@
 
 void UrlItemView::startDrag(Qt::DropActions supportedActions)
 {
-    kDebug() << "Starting UrlItemView drag with actions" << supportedActions;
+    //kDebug() << "Starting UrlItemView drag with actions" << supportedActions;
 
     if (!d->watchedIndexForDrag.isValid()) {
         return;
@@ -623,14 +623,10 @@
 
     d->dropRect = QRect();
     drag->exec();
-
-    QAbstractItemView::startDrag(supportedActions);
 }
 
 void UrlItemView::dropEvent(QDropEvent *event)
 {
-    QAbstractItemView::dropEvent(event);
-
     if (!d->dragging) {
         return;
     }
@@ -666,7 +662,7 @@
 {
     Q_UNUSED(event)
 
-    kDebug() << "UrlItemView leave event";
+    //kDebug() << "UrlItemView leave event";
 
     d->hoveredIndex = QModelIndex();
     setCurrentIndex(QModelIndex());


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

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