From b03306503cc7de9513aa282b55bda40cea00e128 Mon Sep 17 00:00:00 2001 From: Gareth Stockwell Date: Tue, 16 Feb 2010 11:26:49 +0000 Subject: 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 --- examples/multimedia/audiooutput/audiooutput.cpp | 2 ++ 1 file changed, 2 insertions(+) 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() -- cgit v0.12