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

List:       kde-commits
Subject:    kdebase/konqueror/sidebar/trees
From:       John Firebaugh <jfirebaugh () kde ! org>
Date:       2003-08-02 3:49:24
[Download RAW message or body]

CVS commit by firebaugh: 

Use default hotspot


  M +2 -4      konq_sidebartree.cpp   1.35


--- kdebase/konqueror/sidebar/trees/konq_sidebartree.cpp  #1.34:1.35
@@ -304,8 +304,6 @@ QDragObject* KonqSidebarTree::dragObject
 
     const QPixmap *pix = item->pixmap(0);
-    if ( pix && drag->pixmap().isNull() ) {
-        QPoint hotspot( pix->width() / 2, pix->height() / 2 );
-        drag->setPixmap( *pix, hotspot );
-    }
+    if ( pix && drag->pixmap().isNull() )
+        drag->setPixmap( *pix );
 
     return drag;


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

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