Browse Source

Merge pull request #1316 from dogmaphobic/textToSpeechFixes

Text to speech tweaks
QGC4.4
Don Gagne 10 years ago
parent
commit
0eb51f49fe
  1. 2
      src/audio/QGCAudioWorker.cpp

2
src/audio/QGCAudioWorker.cpp

@ -174,7 +174,7 @@ bool QGCAudioWorker::isMuted() @@ -174,7 +174,7 @@ bool QGCAudioWorker::isMuted()
}
bool QGCAudioWorker::_getMillisecondString(const QString& string, QString& match, int& number) {
QRegularExpression re("([0-9]*ms)");
static QRegularExpression re("([0-9]+ms)");
QRegularExpressionMatchIterator i = re.globalMatch(string);
while (i.hasNext()) {
QRegularExpressionMatch qmatch = i.next();

Loading…
Cancel
Save