From 05caadbca3cf3c40264e39eae96b8eed61ededab Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Wed, 5 Sep 2012 20:17:26 +0200 Subject: Correctly construct the path for talkfile generation. While TalkFileCreator uses the current mountpoint for writing logging information it does not use it for constructing the correct path to generate talkfiles for. Since there is not much point in generating talkfiles for files that are not on the player (and the UI limits the paths that can get selected to folders on the player) make TalkFileCreator use the mountpoint for creating correct paths. Fixes FS#12748. Change-Id: Id682a3738649e4167556255599553edc6e2acd48 --- rbutil/rbutilqt/installtalkwindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rbutil/rbutilqt/installtalkwindow.cpp') diff --git a/rbutil/rbutilqt/installtalkwindow.cpp b/rbutil/rbutilqt/installtalkwindow.cpp index 115c51706c..f6e67720f5 100644 --- a/rbutil/rbutilqt/installtalkwindow.cpp +++ b/rbutil/rbutilqt/installtalkwindow.cpp @@ -111,7 +111,9 @@ void InstallTalkWindow::accept() QStringList foldersToTalk = RbSettings::value(RbSettings::TalkFolders).toStringList(); for(int i = 0; i < foldersToTalk.size(); i++) { - talkcreator->setDir(QDir(foldersToTalk.at(i))); + qDebug() << "[InstallTalkWindow] creating talk files for folder" + << foldersToTalk.at(i); + talkcreator->setDir(foldersToTalk.at(i)); talkcreator->createTalkFiles(); } } -- cgit v1.2.3