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