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 b217bdb31..481339b30 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.at(0) == '1'); // true if 1
return new HistoryURLItem( urls, metaData, cut );
}