diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-11-04 01:15:10 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-12-23 03:20:23 +0100 |
commit | fbe9d4c87116c8993e0094e35263f56fc48a37d4 (patch) | |
tree | 37df71d10ca2196ac5a2a0c4813aa3773f891b31 | |
parent | 9b23ca638955b99e0f483bf2b547345cd6c2004e (diff) | |
download | tdeaccessibility-fbe9d4c87116c8993e0094e35263f56fc48a37d4.tar.gz tdeaccessibility-fbe9d4c87116c8993e0094e35263f56fc48a37d4.zip |
Fix references to user profile directory.
(cherry picked from commit 28e8006c43afe7774da8a21b4bad5e67e37c6eae)
-rw-r--r-- | kttsd/TODO | 4 | ||||
-rw-r--r-- | kttsd/kttsd/speaker.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -63,8 +63,8 @@ _ KTTSD: _ I am told that when kttsd crashes, it can take knotify down with it. See about "disconnecting" knotify from kttsd (using post to Qt event queue). _ Strange msg being produced by KIO::move, but it works fine. ?? - kio (KIOJob): stat file:///home/kde-devel/.kde/share/apps/kttsd/audio/kttsd-5-1.wav - kio (KIOJob): error 11 /home/kde-devel/.kde/share/apps/kttsd/audio/kttsd-5-1.wav + kio (KIOJob): stat file:///home/kde-devel/.trinity/share/apps/kttsd/audio/kttsd-5-1.wav + kio (KIOJob): error 11 /home/kde-devel/.trinity/share/apps/kttsd/audio/kttsd-5-1.wav kio (KIOJob): This seems to be a suitable case for trying to rename before stat+[list+]copy+del _ While kttsd currently configures a Talker automatically, would be nice if it could autoconfigure talkers for each requested language, if one has not already been configured. diff --git a/kttsd/kttsd/speaker.cpp b/kttsd/kttsd/speaker.cpp index 598806e..1a4e9c5 100644 --- a/kttsd/kttsd/speaker.cpp +++ b/kttsd/kttsd/speaker.cpp @@ -1322,8 +1322,8 @@ uttIterator Speaker::deleteUtterance(uttIterator it) d.rename(it->audioUrl, dest); // TODO: This is always producing the following. Why and how to fix? // It moves the files just fine. - // kio (KIOJob): stat file:///home/kde-devel/.kde/share/apps/kttsd/audio/kttsd-5-1.wav - // kio (KIOJob): error 11 /home/kde-devel/.kde/share/apps/kttsd/audio/kttsd-5-1.wav + // kio (KIOJob): stat file:///home/kde-devel/.trinity/share/apps/kttsd/audio/kttsd-5-1.wav + // kio (KIOJob): error 11 /home/kde-devel/.trinity/share/apps/kttsd/audio/kttsd-5-1.wav // kio (KIOJob): This seems to be a suitable case for trying to rename before stat+[list+]copy+del // KIO::move(it->audioUrl, dest, false); } |