Diffstat (limited to 'core/multimedia/opieplayer/modplug') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/modplug/modpluginimpl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/multimedia/opieplayer/modplug/modpluginimpl.cpp b/core/multimedia/opieplayer/modplug/modpluginimpl.cpp index 6e64e76..6205779 100644 --- a/core/multimedia/opieplayer/modplug/modpluginimpl.cpp +++ b/core/multimedia/opieplayer/modplug/modpluginimpl.cpp | |||
@@ -28,24 +28,26 @@ ModPluginImpl::ModPluginImpl() | |||
28 | ModPluginImpl::~ModPluginImpl() | 28 | ModPluginImpl::~ModPluginImpl() |
29 | { | 29 | { |
30 | delete m_plugin; | 30 | delete m_plugin; |
31 | } | 31 | } |
32 | 32 | ||
33 | #ifndef QT_NO_COMPONENT | 33 | #ifndef QT_NO_COMPONENT |
34 | 34 | ||
35 | QRESULT ModPluginImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) | 35 | QRESULT ModPluginImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) |
36 | { | 36 | { |
37 | *iface = 0; | 37 | *iface = 0; |
38 | if ( ( uuid == IID_QUnknown ) || ( uuid == IID_MediaPlayerPlugin ) ) | 38 | if ( ( uuid == IID_QUnknown ) || ( uuid == IID_MediaPlayerPlugin ) ) |
39 | *iface = this, (*iface)->addRef(); | 39 | *iface = this, (*iface)->addRef(); |
40 | else | ||
41 | return QS_FALSE; | ||
40 | return QS_OK; | 42 | return QS_OK; |
41 | } | 43 | } |
42 | 44 | ||
43 | Q_EXPORT_INTERFACE() | 45 | Q_EXPORT_INTERFACE() |
44 | { | 46 | { |
45 | Q_CREATE_INSTANCE( ModPluginImpl ) | 47 | Q_CREATE_INSTANCE( ModPluginImpl ) |
46 | } | 48 | } |
47 | 49 | ||
48 | #endif | 50 | #endif |
49 | 51 | ||
50 | MediaPlayerDecoder *ModPluginImpl::decoder() | 52 | MediaPlayerDecoder *ModPluginImpl::decoder() |
51 | { | 53 | { |