From 66eec2bf31f7f8aa25ade248e5e9097f26ac3ecd Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Fri, 8 Nov 2013 17:32:31 -0600 Subject: [PATCH] Update XDG mimetypes. --- tdecore/kurldrag.cpp | 4 ++-- tdeio/tdeio/paste.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tdecore/kurldrag.cpp b/tdecore/kurldrag.cpp index a8ab2323a..07e669dfd 100644 --- a/tdecore/kurldrag.cpp +++ b/tdecore/kurldrag.cpp @@ -86,8 +86,8 @@ KURLDrag * KURLDrag::newDrag( const KURL::List &urls, const TQMapprovides( "application/x-kde-urilist" ) ) { - TQByteArray payload = e->encodedData( "application/x-kde-urilist" ); + if ( e->provides( "application/x-tde-urilist" ) ) { + TQByteArray payload = e->encodedData( "application/x-tde-urilist" ); if ( payload.size() ) { uint c=0; const char* d = payload.data(); diff --git a/tdeio/tdeio/paste.cpp b/tdeio/tdeio/paste.cpp index 42fff5ba2..549575c29 100644 --- a/tdeio/tdeio/paste.cpp +++ b/tdeio/tdeio/paste.cpp @@ -181,7 +181,7 @@ TDEIO::CopyJob* TDEIO::pasteMimeSource( TQMimeSource* data, const KURL& dest_url for ( int i = 0; ( fmt = data->format( i ) ); ++i ) { if ( qstrcmp( fmt, "application/x-qiconlist" ) == 0 ) // see QIconDrag continue; - if ( qstrcmp( fmt, "application/x-kde-cutselection" ) == 0 ) // see KonqDrag + if ( qstrcmp( fmt, "application/x-tde-cutselection" ) == 0 ) // see KonqDrag continue; if ( strchr( fmt, '/' ) == 0 ) // e.g. TARGETS, MULTIPLE, TIMESTAMP continue;