summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2017-04-18 22:05:01 +0200
committerLiang Qi <liang.qi@qt.io>2017-04-18 22:05:01 +0200
commit4103c273e4d4ca4697e9b95c1631b31bef2891ff (patch)
treedfc186ef00372919c71e796f9da07327df3a33c8
parented16f6b4f811cc75a3faf48ed3029b635ae02b08 (diff)
parent4320724b8acd83aa4a398e7e7f42e8c1e0ee1976 (diff)
Merge remote-tracking branch 'origin/5.8' into 5.9v5.9.0-rc2v5.9.0-rc1v5.9.0-beta4v5.9.0-beta3v5.9.0
-rw-r--r--examples/speech/hello_speak/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/speech/hello_speak/mainwindow.cpp b/examples/speech/hello_speak/mainwindow.cpp
index 58fd99d..56b274f 100644
--- a/examples/speech/hello_speak/mainwindow.cpp
+++ b/examples/speech/hello_speak/mainwindow.cpp
@@ -101,7 +101,7 @@ void MainWindow::stateChanged(QTextToSpeech::State state)
ui.pauseButton->setEnabled(state == QTextToSpeech::Speaking);
ui.resumeButton->setEnabled(state == QTextToSpeech::Paused);
- ui.stopButton->setEnabled(state == QTextToSpeech::Speaking || QTextToSpeech::Paused);
+ ui.stopButton->setEnabled(state == QTextToSpeech::Speaking || state == QTextToSpeech::Paused);
}
void MainWindow::engineSelected(int index)