Commit 6903ae32 authored by dogmaphobic's avatar dogmaphobic

Text to speech tweak.

parent 87c28f2d
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment