summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2013-11-08 17:23:40 -0600
committerDarrell Anderson <[email protected]>2013-11-08 17:23:40 -0600
commitb99eb0d00da61a9963fa9592b17f08d00d27187b (patch)
treebb8391c32471dfead2ba3679c2bacb9cd291c3f8
parent24e4bfae5bb72cbe3121ae166c5ec6906b16b130 (diff)
downloadkrusader-b99eb0d00da61a9963fa9592b17f08d00d27187b.tar.gz
krusader-b99eb0d00da61a9963fa9592b17f08d00d27187b.zip
Update XDG mimetypes.
-rw-r--r--krusader/Panel/krdrag.cpp6
1 files 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