summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--smb4k/iconview/smb4ksharesiconview.cpp2
-rw-r--r--smb4k/listview/smb4kshareslistview.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/smb4k/iconview/smb4ksharesiconview.cpp b/smb4k/iconview/smb4ksharesiconview.cpp
index ca8a289..197484d 100644
--- a/smb4k/iconview/smb4ksharesiconview.cpp
+++ b/smb4k/iconview/smb4ksharesiconview.cpp
@@ -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();
diff --git a/smb4k/listview/smb4kshareslistview.cpp b/smb4k/listview/smb4kshareslistview.cpp
index 75112e0..95b8284 100644
--- a/smb4k/listview/smb4kshareslistview.cpp
+++ b/smb4k/listview/smb4kshareslistview.cpp
@@ -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();