summaryrefslogtreecommitdiffstats
path: root/src/notedrag.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/notedrag.cpp')
-rw-r--r--src/notedrag.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/notedrag.cpp b/src/notedrag.cpp
index 37e2337..227c108 100644
--- a/src/notedrag.cpp
+++ b/src/notedrag.cpp
@@ -224,19 +224,10 @@ void NoteDrag::serializeLinks(NoteSelection *noteList, KMultipleDrag *multipleDr
}
if (!urls.isEmpty()) {
// First, the standard text/uri-list MIME format:
-#if KDE_IS_VERSION( 3, 3, 90 )
KURLDrag *urlsDrag = new KURLDrag(urls);
// ONLY export as text/uri-list, and not as text/plain* as we wil do that better ourself
urlsDrag->setExportAsText(false);
multipleDrag->addDragObject(urlsDrag);
-#else
- KURLDrag2 *urlsDrag = new KURLDrag2(urls);
- TQByteArray byteArray = urlsDrag->encodedData2("text/uri-list");
- TQStoredDrag *uriListDrag = new TQStoredDrag("text/uri-list");
- uriListDrag->setEncodedData(byteArray);
- multipleDrag->addDragObject(uriListDrag);
- delete urlsDrag;
-#endif
// Then, also provide it in the Mozilla proprietary format (that also allow to add titles to URLs):
// A version for Mozilla applications (convert to "theUrl\ntheTitle", into UTF-16):
// FIXME: Does Mozilla support the drag of several URLs at once?