forked from len0rd/rockbox
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
This commit is contained in:
parent
a46e0b02c1
commit
05caadbca3
3 changed files with 20 additions and 16 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue