diff options
Diffstat (limited to 'rbutil/rbutilqt/talkfile.cpp')
-rw-r--r-- | rbutil/rbutilqt/talkfile.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rbutil/rbutilqt/talkfile.cpp b/rbutil/rbutilqt/talkfile.cpp index 478e9ea19a..3b4e82caf6 100644 --- a/rbutil/rbutilqt/talkfile.cpp +++ b/rbutil/rbutilqt/talkfile.cpp | |||
@@ -55,7 +55,7 @@ bool TalkFileCreator::createTalkFiles(ProgressloggerInterface* logger) | |||
55 | return false; | 55 | return false; |
56 | } | 56 | } |
57 | 57 | ||
58 | QApplication::processEvents(); | 58 | QCoreApplication::processEvents(); |
59 | 59 | ||
60 | connect(logger,SIGNAL(aborted()),this,SLOT(abort())); | 60 | connect(logger,SIGNAL(aborted()),this,SLOT(abort())); |
61 | m_logger->setProgressMax(0); | 61 | m_logger->setProgressMax(0); |
@@ -78,7 +78,7 @@ bool TalkFileCreator::createTalkFiles(ProgressloggerInterface* logger) | |||
78 | return false; | 78 | return false; |
79 | } | 79 | } |
80 | 80 | ||
81 | QApplication::processEvents(); | 81 | QCoreApplication::processEvents(); |
82 | QFileInfo fileInf = it.fileInfo(); | 82 | QFileInfo fileInf = it.fileInfo(); |
83 | QString toSpeak; | 83 | QString toSpeak; |
84 | QString filename; | 84 | QString filename; |
@@ -144,7 +144,7 @@ bool TalkFileCreator::createTalkFiles(ProgressloggerInterface* logger) | |||
144 | 144 | ||
145 | return false; | 145 | return false; |
146 | } | 146 | } |
147 | QApplication::processEvents(); | 147 | QCoreApplication::processEvents(); |
148 | } | 148 | } |
149 | m_logger->addItem(tr("Encoding of %1").arg(toSpeak),LOGINFO); | 149 | m_logger->addItem(tr("Encoding of %1").arg(toSpeak),LOGINFO); |
150 | if(!m_enc->encode(wavfilename,filename)) | 150 | if(!m_enc->encode(wavfilename,filename)) |
@@ -156,7 +156,7 @@ bool TalkFileCreator::createTalkFiles(ProgressloggerInterface* logger) | |||
156 | 156 | ||
157 | return false; | 157 | return false; |
158 | } | 158 | } |
159 | QApplication::processEvents(); | 159 | QCoreApplication::processEvents(); |
160 | } | 160 | } |
161 | 161 | ||
162 | //! remove the intermedia wav file, if requested | 162 | //! remove the intermedia wav file, if requested |