summaryrefslogtreecommitdiffstats
path: root/klipper/historyitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'klipper/historyitem.cpp')
-rw-r--r--klipper/historyitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/klipper/historyitem.cpp b/klipper/historyitem.cpp
index 3dfc37f17..86c19f07a 100644
--- a/klipper/historyitem.cpp
+++ b/klipper/historyitem.cpp
@@ -52,7 +52,7 @@ HistoryItem* HistoryItem::create( const TQMimeSource& aSource )
TQMap<TQString,TQString> metaData;
if( KURLDrag::decode( &aSource, urls, metaData )) {
// this is from KonqDrag (libkonq)
- TQByteArray a = aSource.tqencodedData( "application/x-kde-cutselection" );
+ TQByteArray a = aSource.encodedData( "application/x-kde-cutselection" );
bool cut = !a.isEmpty() && (a.tqat(0) == '1'); // true if 1
return new HistoryURLItem( urls, metaData, cut );
}