From b99eb0d00da61a9963fa9592b17f08d00d27187b Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Fri, 8 Nov 2013 17:23:40 -0600 Subject: [PATCH] Update XDG mimetypes. --- krusader/Panel/krdrag.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/krusader/Panel/krdrag.cpp b/krusader/Panel/krdrag.cpp index 95bcae8..d886404 100644 --- a/krusader/Panel/krdrag.cpp +++ b/krusader/Panel/krdrag.cpp @@ -54,7 +54,7 @@ const char* KRDrag::format( int i ) const if ( i == 0 ) return "text/uri-list"; else if ( i == 1 ) - return "application/x-kde-cutselection"; + return "application/x-tde-cutselection"; else if ( i == 2 ) return "text/plain"; else return 0; @@ -66,7 +66,7 @@ TQByteArray KRDrag::encodedData( const char* mime ) const TQCString mimetype( mime ); if ( mimetype == "text/uri-list" ) return TQUriDrag::encodedData( mime ); - else if ( mimetype == "application/x-kde-cutselection" ) { + else if ( mimetype == "application/x-tde-cutselection" ) { TQCString s ( m_bCutSelection ? "1" : "0" ); a.resize( s.length() + 1 ); // trailing zero memcpy( a.data(), s.data(), s.length() + 1 ); @@ -91,7 +91,7 @@ TQByteArray KRDrag::encodedData( const char* mime ) const bool KRDrag::decodeIsCutSelection( const TQMimeSource *e ) { - TQByteArray a = e->encodedData( "application/x-kde-cutselection" ); + TQByteArray a = e->encodedData( "application/x-tde-cutselection" ); if ( a.isEmpty() ) return false; else