Fix smb4k FTBFS under gcc4.6

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/smb4k@1244254 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent bd7cfd49c7
commit 5539063c80

@ -86,7 +86,7 @@ KURLDrag *Smb4KSharesIconView::dragObject()
// Get the KURL of the item that is to be dragged:
KURL url = KURL( static_cast<Smb4KSharesIconViewItem *>( currentItem() )->shareObject()->canonicalPath() );
KURLDrag *drag = new KURLDrag( KURL::List::List( url ), this );
KURLDrag *drag = new KURLDrag( KURL::List( url ), this );
drag->setPixmap( DesktopIcon( "folder" ) );
// drag->dragCopy();

@ -98,7 +98,7 @@ KURLDrag *Smb4KSharesListView::dragObject()
// Get the KURL of the item that is to be dragged:
KURL url = KURL( static_cast<Smb4KSharesListViewItem *>( currentItem() )->shareObject()->canonicalPath() );
KURLDrag *drag = new KURLDrag( KURL::List::List( url ), this );
KURLDrag *drag = new KURLDrag( KURL::List( url ), this );
drag->setPixmap( DesktopIcon( "folder" ) );
// drag->dragCopy();

Loading…
Cancel
Save