diff options
Diffstat (limited to 'klipper/historyitem.cpp')
-rw-r--r-- | klipper/historyitem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/klipper/historyitem.cpp b/klipper/historyitem.cpp index 3dfc37f17..481339b30 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.tqencodedData( "application/x-kde-cutselection" ); - bool cut = !a.isEmpty() && (a.tqat(0) == '1'); // true if 1 + 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 ); } } |