Ignore:
Timestamp:
Feb 11, 2010, 11:19:06 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.1 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/3rdparty/phonon/phonon/mediasource.cpp

    r2 r561  
    77    version 2.1 of the License, or (at your option) version 3, or any
    88    later version accepted by the membership of KDE e.V. (or its
    9     successor approved by the membership of KDE e.V.), Trolltech ASA
     9    successor approved by the membership of KDE e.V.), Nokia Corporation
    1010    (or its successors, if any) and the KDE Free Qt Foundation, which shall
    1111    act as a proxy defined in Section 6 of version 3 of the license.
     
    141141#ifndef QT_NO_PHONON_ABSTRACTMEDIASTREAM
    142142    if (autoDelete) {
    143         delete stream;
    144         delete ioDevice;
     143        //here we use deleteLater because this object
     144        //might be destroyed from another thread
     145        if (stream)
     146            stream->deleteLater();
     147        if (ioDevice)
     148            ioDevice->deleteLater();
    145149    }
    146150#endif //QT_NO_PHONON_ABSTRACTMEDIASTREAM
Note: See TracChangeset for help on using the changeset viewer.