? multi.patch ? keditbookmarks.patch Index: toplevel.cpp =================================================================== RCS file: /home/kde/kdebase/konqueror/keditbookmarks/toplevel.cpp,v retrieving revision 1.73 diff -u -r1.73 toplevel.cpp --- toplevel.cpp 2002/03/08 09:53:59 1.73 +++ toplevel.cpp 2002/03/21 02:22:02 @@ -809,9 +809,11 @@ { if ( KBookmarkDrag::canDecode( data ) ) { - KBookmark bk = KBookmarkDrag::decode( data ); - kdDebug() << "KEBTopLevel::slotPaste url=" << bk.url().prettyURL() << endl; - CreateCommand * cmd = new CreateCommand( cmdName, insertionAddress, bk ); + QValueList bks = KBookmarkDrag::decode( data ); + if (bks.size() > 1) + kdWarning() << "Sadly, pasteData is currently limited to only one url." << endl; + kdDebug() << "KEBTopLevel::slotPaste url=" << bks.first().url().prettyURL() << endl; + CreateCommand * cmd = new CreateCommand( cmdName, insertionAddress, bks.first() ); m_commandHistory.addCommand( cmd ); } }