Diffstat (limited to 'libopie2/opiecore/device/odevice.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiecore/device/odevice.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libopie2/opiecore/device/odevice.cpp b/libopie2/opiecore/device/odevice.cpp index ec861ee..b5ae4e5 100644 --- a/libopie2/opiecore/device/odevice.cpp +++ b/libopie2/opiecore/device/odevice.cpp @@ -781,5 +781,7 @@ void ODevice::remPreHandler(QWSServer::KeyboardFilter*aFilter) */ void ODevice::playingStopped() { + if ( sender() ) const_cast<QObject*>(sender())->disconnect( this ); + #ifndef QT_NO_SOUND if ( d->m_sound >= 0 ) { |