Diffstat (limited to 'core/multimedia/opieplayer/libflash/libflashpluginimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/libflash/libflashpluginimpl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/multimedia/opieplayer/libflash/libflashpluginimpl.cpp b/core/multimedia/opieplayer/libflash/libflashpluginimpl.cpp index af2c07e..b2a1b5d 100644 --- a/core/multimedia/opieplayer/libflash/libflashpluginimpl.cpp +++ b/core/multimedia/opieplayer/libflash/libflashpluginimpl.cpp @@ -27,44 +27,46 @@ LibFlashPluginImpl::LibFlashPluginImpl() } LibFlashPluginImpl::~LibFlashPluginImpl() { if ( libflashplugin ) delete libflashplugin; } MediaPlayerDecoder *LibFlashPluginImpl::decoder() { if ( !libflashplugin ) libflashplugin = new LibFlashPlugin; return libflashplugin; } MediaPlayerEncoder *LibFlashPluginImpl::encoder() { return NULL; } #ifndef QT_NO_COMPONENT QRESULT LibFlashPluginImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) { *iface = 0; if ( ( uuid == IID_QUnknown ) || ( uuid == IID_MediaPlayerPlugin ) ) *iface = this, (*iface)->addRef(); + else + return QS_FALSE; return QS_OK; } Q_EXPORT_INTERFACE() { Q_CREATE_INSTANCE( LibFlashPluginImpl ) } #endif |