diff options
author | Shane Kearns <shane.kearns@sosco.com> | 2009-11-24 18:54:02 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@sosco.com> | 2009-11-25 09:03:15 (GMT) |
commit | 339a11182a3e64c9cfbd8082622b5920c90c99c5 (patch) | |
tree | 374c7c709db9a2cafde257b8fe434502d6f958e8 /src/xmlpatterns | |
parent | 6bf1037df75d8d6f697f9f49d8d7fbe9b2cabc98 (diff) | |
download | Qt-339a11182a3e64c9cfbd8082622b5920c90c99c5.zip Qt-339a11182a3e64c9cfbd8082622b5920c90c99c5.tar.gz Qt-339a11182a3e64c9cfbd8082622b5920c90c99c5.tar.bz2 |
Fix crash in QApplication::beep() on S60
Using an asynchronous API synchronously caused a crash, because the
data structure was deleted while an async request is still pending.
Depending on the multimedia implementation on the phone, the crash will
happen or you just get no sound (or it can even work if the underlying
implementation is blocking).
Solution is to use the API asynchronously, and delete the handling object
in qt_cleanup.
Also raised the tone by one octave to be more similar to the system beep.
Task-number: QTBUG-6170
Reviewed-by: Janne Anttila
Reviewed-by: Miikka Heikkinen
Diffstat (limited to 'src/xmlpatterns')
0 files changed, 0 insertions, 0 deletions