summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/installtalkwindow.cpp
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2008-05-27 20:02:25 +0000
committerDominik Wenger <domonoky@googlemail.com>2008-05-27 20:02:25 +0000
commitae4b677736032176459f7adbb65c5386cfc089fb (patch)
tree91d7998b2118eb0368ba383f9507709cfff385c9 /rbutil/rbutilqt/installtalkwindow.cpp
parent819a39a22eb33fda4f3605258f3ca1416590b405 (diff)
downloadrockbox-ae4b677736032176459f7adbb65c5386cfc089fb.tar.gz
rockbox-ae4b677736032176459f7adbb65c5386cfc089fb.tar.bz2
rockbox-ae4b677736032176459f7adbb65c5386cfc089fb.zip
rbutil: improve talkfile generation. remove the options to keep and overwrite the wavfiles.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17637 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/installtalkwindow.cpp')
-rw-r--r--rbutil/rbutilqt/installtalkwindow.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/rbutil/rbutilqt/installtalkwindow.cpp b/rbutil/rbutilqt/installtalkwindow.cpp
index 1246d53876..16b3b83f21 100644
--- a/rbutil/rbutilqt/installtalkwindow.cpp
+++ b/rbutil/rbutilqt/installtalkwindow.cpp
@@ -31,8 +31,6 @@ InstallTalkWindow::InstallTalkWindow(QWidget *parent) : QDialog(parent)
connect(ui.buttonBrowse, SIGNAL(clicked()), this, SLOT(browseFolder()));
connect(ui.change,SIGNAL(clicked()),this,SLOT(change()));
- ui.OverwriteWav->setChecked(true);
- ui.RemoveWav->setChecked(true);
ui.recursive->setChecked(true);
ui.OverwriteTalk->setChecked(true);
ui.StripExtensions->setChecked(true);
@@ -99,13 +97,13 @@ void InstallTalkWindow::accept()
talkcreator->setMountPoint(settings->mountpoint());
talkcreator->setOverwriteTalk(ui.OverwriteTalk->isChecked());
- talkcreator->setOverwriteWav(ui.OverwriteWav->isChecked());
- talkcreator->setRemoveWav(ui.RemoveWav->isChecked());
+ talkcreator->setOverwriteWav(true);
+ talkcreator->setRemoveWav(true);
talkcreator->setRecursive(ui.recursive->isChecked());
talkcreator->setStripExtensions(ui.StripExtensions->isChecked());
talkcreator->setTalkFolders(ui.talkFolders->isChecked());
talkcreator->setTalkFiles(ui.talkFiles->isChecked());
-
+
talkcreator->createTalkFiles(logger);
}