Update XDG mimetypes.

pull/1/head
Darrell Anderson 11 years ago
parent 2675803beb
commit 4c817db1cc

@ -252,7 +252,7 @@ void NoteDrag::serializeLinks(NoteSelection *noteList, KMultipleDrag *multipleDr
if (cutting) {
TQByteArray arrayCut(2);
TQStoredDrag *storedDragCut = new TQStoredDrag("application/x-kde-cutselection");
TQStoredDrag *storedDragCut = new TQStoredDrag("application/x-tde-cutselection");
arrayCut[0] = '1';
arrayCut[1] = 0;
storedDragCut->setEncodedData(arrayCut);

@ -426,8 +426,8 @@ TQString Tools::fileNameForNewFile(const TQString &wantedName, const TQString &d
bool Tools::isAFileCut(TQMimeSource *source)
{
if (source->provides("application/x-kde-cutselection")) {
TQByteArray array = source->encodedData("application/x-kde-cutselection");
if (source->provides("application/x-tde-cutselection")) {
TQByteArray array = source->encodedData("application/x-tde-cutselection");
return !array.isEmpty() && TQCString(array.data(), array.size() + 1).at(0) == '1';
} else
return false;

Loading…
Cancel
Save