diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-11-04 00:42:24 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-11-04 00:42:24 -0500 |
commit | 6ecfcb2f4e6d4f6be585676099ec1e7f49b31de6 (patch) | |
tree | d681b70d17147fd69574cd4f7da339b4bab2de8d /src/archive.cpp | |
parent | 6fda3a412e1b365798bb96898e93f164d8ef0f52 (diff) | |
download | basket-6ecfcb2f4e6d4f6be585676099ec1e7f49b31de6.tar.gz basket-6ecfcb2f4e6d4f6be585676099ec1e7f49b31de6.zip |
Fix references to user profile directory.
Diffstat (limited to 'src/archive.cpp')
-rw-r--r-- | src/archive.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/archive.cpp b/src/archive.cpp index 6f57f87..1b9490a 100644 --- a/src/archive.cpp +++ b/src/archive.cpp @@ -436,7 +436,7 @@ void Archive::importTagEmblems(const TQString &extractionFolder) // The icon does not exists on that computer, import it: if (emblem.isNull()) { // Of the emblem path was eg. "/home/seb/emblem.png", it was exported as "tag-emblems/_home_seb_emblem.png". - // So we need to copy that image to "~/.kde/share/apps/basket/tag-emblems/emblem.png": + // So we need to copy that image to "~/.trinity/share/apps/basket/tag-emblems/emblem.png": int slashIndex = emblemName.findRev("/"); TQString emblemFileName = (slashIndex < 0 ? emblemName : emblemName.right(slashIndex - 2)); TQString source = extractionFolder + "tag-emblems/" + emblemName.replace('/', '_'); @@ -554,7 +554,7 @@ void Archive::importBasketIcon(TQDomElement properties, const TQString &extracti dir.mkdir(Global::savesFolder() + "basket-icons/"); FormatImporter copier; // Only used to copy files synchronously // Of the icon path was eg. "/home/seb/icon.png", it was exported as "basket-icons/_home_seb_icon.png". - // So we need to copy that image to "~/.kde/share/apps/basket/basket-icons/icon.png": + // So we need to copy that image to "~/.trinity/share/apps/basket/basket-icons/icon.png": int slashIndex = iconName.findRev("/"); TQString iconFileName = (slashIndex < 0 ? iconName : iconName.right(slashIndex - 2)); TQString source = extractionFolder + "basket-icons/" + iconName.replace('/', '_'); |