summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/talkfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/talkfile.cpp')
-rw-r--r--rbutil/rbutilqt/talkfile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/talkfile.cpp b/rbutil/rbutilqt/talkfile.cpp
index 77f68ac8cb..4aa86fa21a 100644
--- a/rbutil/rbutilqt/talkfile.cpp
+++ b/rbutil/rbutilqt/talkfile.cpp
@@ -133,7 +133,7 @@ bool TalkFileCreator::createTalkFiles(ProgressloggerInterface* logger)
wavfilename = QDir::tempPath()+ "/"+ filename + ".wav";
- QFileInfo filenameInf(filepath+filename);
+ QFileInfo filenameInf(filepath+"/"+filename);
QFileInfo wavfilenameInf(wavfilename);
//! the actual generation of the .talk files
@@ -154,7 +154,7 @@ bool TalkFileCreator::createTalkFiles(ProgressloggerInterface* logger)
QCoreApplication::processEvents();
}
m_logger->addItem(tr("Encoding of %1").arg(toSpeak),LOGINFO);
- if(!m_enc->encode(wavfilename,filepath+filename))
+ if(!m_enc->encode(wavfilename,filepath+"/"+filename))
{
m_logger->addItem(tr("Encoding of %1 failed").arg(wavfilename),LOGERROR);
m_logger->abort();
@@ -178,7 +178,7 @@ bool TalkFileCreator::createTalkFiles(ProgressloggerInterface* logger)
installlog.setValue(wavfilename.remove(0,m_mountpoint.length()),now);
//! add the .talk file to the install log
- installlog.setValue(QString(filepath+filename).remove(0,m_mountpoint.length()),now);
+ installlog.setValue(QString(filepath+"/"+filename).remove(0,m_mountpoint.length()),now);
it.next();
}