summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2013-11-08 17:25:01 -0600
committerDarrell Anderson <[email protected]>2013-11-08 17:25:01 -0600
commit4c817db1ccaf48d5e32fe8ae200e8397944ac0e9 (patch)
treeef3beea8ef2e56fd3e1b86f2370d4a04005bc205
parent2675803beb7f14566f6a0a202be0b4cc0af386f2 (diff)
downloadbasket-4c817db1ccaf48d5e32fe8ae200e8397944ac0e9.tar.gz
basket-4c817db1ccaf48d5e32fe8ae200e8397944ac0e9.zip
Update XDG mimetypes.
-rw-r--r--src/notedrag.cpp2
-rw-r--r--src/tools.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/notedrag.cpp b/src/notedrag.cpp
index f7b6931..f139652 100644
--- a/src/notedrag.cpp
+++ b/src/notedrag.cpp
@@ -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);
diff --git a/src/tools.cpp b/src/tools.cpp
index 81dad55..4226b23 100644
--- a/src/tools.cpp
+++ b/src/tools.cpp
@@ -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;