diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-01 05:15:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-01 05:15:43 +0000 |
commit | 5539063c804d38a8b3406c5647b1a8d1a66d63b0 (patch) | |
tree | 386f20d24e38af9128f3b711d2574777a2714583 | |
parent | bd7cfd49c7d73beb960c9cb822782d509488e3a7 (diff) | |
download | smb4k-5539063c804d38a8b3406c5647b1a8d1a66d63b0.tar.gz smb4k-5539063c804d38a8b3406c5647b1a8d1a66d63b0.zip |
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
-rw-r--r-- | smb4k/iconview/smb4ksharesiconview.cpp | 2 | ||||
-rw-r--r-- | smb4k/listview/smb4kshareslistview.cpp | 2 |
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(); |