Ignore:
Timestamp:
Aug 2, 2010, 9:27:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.3 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/3rdparty/phonon/mmf/backend.cpp

    r651 r769  
    2525
    2626#include "abstractaudioeffect.h"
    27 #include "ancestormovemonitor.h"
    2827#include "audiooutput.h"
    2928#include "audioplayer.h"
     
    4544Backend::Backend(QObject *parent)
    4645    : QObject(parent)
     46#ifndef PHONON_MMF_VIDEO_SURFACES
    4747    , m_ancestorMoveMonitor(new AncestorMoveMonitor(this))
     48#endif
    4849    , m_effectFactory(new EffectFactory(this))
    4950{
     
    8788        return m_effectFactory->createAudioEffect(type, parent);
    8889    }
     90
    8991    case VideoWidgetClass:
    90         result = new VideoWidget(m_ancestorMoveMonitor.data(), qobject_cast<QWidget *>(parent));
     92    {
     93        VideoWidget *widget = new VideoWidget(qobject_cast<QWidget *>(parent));
     94#ifndef PHONON_MMF_VIDEO_SURFACES
     95        widget->setAncestorMoveMonitor(m_ancestorMoveMonitor.data());
     96#endif
     97        result = widget;
     98    }
    9199        break;
    92100
Note: See TracChangeset for help on using the changeset viewer.