Update XDG mimetypes.

pull/16/head
Darrell Anderson 11 years ago
parent 6bf8e926c7
commit 66eec2bf31

@ -86,8 +86,8 @@ KURLDrag * KURLDrag::newDrag( const KURL::List &urls, const TQMap<TQString, TQSt
bool KURLDrag::decode( const TQMimeSource *e, KURL::List &uris )
{
if ( e->provides( "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();

@ -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;

Loading…
Cancel
Save