summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qsound_s60.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2010-11-29 06:39:31 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2010-11-29 06:39:31 (GMT)
commit4592fc2e481b42bbbe1f59e575ce3c9b9af9c9e4 (patch)
tree9adb0250ed390477e37741de97bede2bae148f7e /src/gui/kernel/qsound_s60.cpp
parentf7d66442963e1380a4f2db3d24cb24aa9d5c63ad (diff)
parentbf5571b485420a945e9fdf3bf5b31cfe4c4d482b (diff)
downloadQt-4592fc2e481b42bbbe1f59e575ce3c9b9af9c9e4.zip
Qt-4592fc2e481b42bbbe1f59e575ce3c9b9af9c9e4.tar.gz
Qt-4592fc2e481b42bbbe1f59e575ce3c9b9af9c9e4.tar.bz2
Merge remote branch 'origin/master' into lighthouse-master
Diffstat (limited to 'src/gui/kernel/qsound_s60.cpp')
-rw-r--r--src/gui/kernel/qsound_s60.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qsound_s60.cpp b/src/gui/kernel/qsound_s60.cpp
index df2830b..accfce2 100644
--- a/src/gui/kernel/qsound_s60.cpp
+++ b/src/gui/kernel/qsound_s60.cpp
@@ -150,7 +150,7 @@ void QAuServerS60::playCompleted(QAuBucketS60 *bucket, int error)
} else {
// We don't have a way to inform about errors -> just decrement loops
// in order that QSound::isFinished will return true;
- while (decLoop(sound)) {}
+ while (decLoop(sound) > 0) {}
if (staticPlayingSounds.removeAll(sound))
delete sound;
}