From 7d025dfef0cee534e3c973e01e98bae8fd73f41c Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Fri, 8 Nov 2013 17:30:11 -0600 Subject: Update XDG mimetypes. --- klipper/historyitem.cpp | 2 +- klipper/historyurlitem.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'klipper') diff --git a/klipper/historyitem.cpp b/klipper/historyitem.cpp index 481339b30..e035856d7 100644 --- a/klipper/historyitem.cpp +++ b/klipper/historyitem.cpp @@ -52,7 +52,7 @@ HistoryItem* HistoryItem::create( const TQMimeSource& aSource ) TQMap metaData; if( KURLDrag::decode( &aSource, urls, metaData )) { // this is from KonqDrag (libkonq) - TQByteArray a = aSource.encodedData( "application/x-kde-cutselection" ); + TQByteArray a = aSource.encodedData( "application/x-tde-cutselection" ); bool cut = !a.isEmpty() && (a.at(0) == '1'); // true if 1 return new HistoryURLItem( urls, metaData, cut ); } diff --git a/klipper/historyurlitem.cpp b/klipper/historyurlitem.cpp index 0d54ce44c..ea8fb7ffd 100644 --- a/klipper/historyurlitem.cpp +++ b/klipper/historyurlitem.cpp @@ -41,7 +41,7 @@ TQMimeSource* HistoryURLItem::mimeSource() const { KMultipleDrag* drag = new KMultipleDrag; drag->addDragObject( new KURLDrag( urls, metaData )); // from KonqDrag (libkonq) - TQStoredDrag* cutdrag = new TQStoredDrag( "application/x-kde-cutselection" ); + TQStoredDrag* cutdrag = new TQStoredDrag( "application/x-tde-cutselection" ); TQByteArray a; TQCString s ( cut ? "1" : "0" ); a.resize( s.length() + 1 ); // trailing zero -- cgit v1.2.1