nope, no better solution, looks good. Just fixed the comment :-)

svn path=/trunk/kdebase/libkonq/; revision=34307
This commit is contained in:
David Faure 1999-11-18 19:31:47 +00:00
parent 3c904c0a17
commit 441daa297b

View file

@ -217,7 +217,7 @@ void KonqIconViewWidget::slotDrop( QDropEvent *e )
void KonqIconViewWidget::slotDropItem( KFileIVI *item, QDropEvent *e )
{
// Use either the root url or the item url (we stored it as the icon "name")
// Use either the root url or the item url
KURL dest( ( item == 0L ) ? m_url /*m_dirLister->url()*/ : item->item()->url().url() );
// Check the state of the modifiers key at the time of the drop
@ -269,7 +269,7 @@ void KonqIconViewWidget::dropStuff( KFileIVI *item, QDropEvent *ev )
}
KIOJob* job = new KIOJob;
// Use either the root url or the item url (we stored it as the icon "name")
// Use either the root url or the item url
KURL dest( ( item == 0L ) ? m_url /*m_dirLister->url()*/ : item->item()->url().url() );
switch ( ev->action() ) {