diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-02-16 11:26:49 (GMT) |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-02-16 17:57:38 (GMT) |
commit | b03306503cc7de9513aa282b55bda40cea00e128 (patch) | |
tree | bb8597c70be26c360472f3f35a636cbe88069548 /examples | |
parent | 6c67fef3218ec5361b3f9a30fc53c529295da9e4 (diff) | |
download | Qt-b03306503cc7de9513aa282b55bda40cea00e128.zip Qt-b03306503cc7de9513aa282b55bda40cea00e128.tar.gz Qt-b03306503cc7de9513aa282b55bda40cea00e128.tar.bz2 |
Update suspend/resume button label in audio output example
When the mode is toggled, playback is always started, even if the audio
output device was previously suspended. The label on the suspend/resume
button must therefore be updated.
Reviewed-by: trustme
Diffstat (limited to 'examples')
-rw-r--r-- | examples/multimedia/audiooutput/audiooutput.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/multimedia/audiooutput/audiooutput.cpp b/examples/multimedia/audiooutput/audiooutput.cpp index 9a9af86..d4bb294 100644 --- a/examples/multimedia/audiooutput/audiooutput.cpp +++ b/examples/multimedia/audiooutput/audiooutput.cpp @@ -262,6 +262,8 @@ void AudioTest::toggle() pullMode = true; audioOutput->start(gen); } + + button2->setText("Click To Suspend"); } void AudioTest::togglePlay() |