summaryrefslogtreecommitdiff
path: root/core/multimedia/opieplayer/vorbis/libtremorpluginimpl.cpp
Unidiff
Diffstat (limited to 'core/multimedia/opieplayer/vorbis/libtremorpluginimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/multimedia/opieplayer/vorbis/libtremorpluginimpl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/multimedia/opieplayer/vorbis/libtremorpluginimpl.cpp b/core/multimedia/opieplayer/vorbis/libtremorpluginimpl.cpp
index 440747a..0c7b1ea 100644
--- a/core/multimedia/opieplayer/vorbis/libtremorpluginimpl.cpp
+++ b/core/multimedia/opieplayer/vorbis/libtremorpluginimpl.cpp
@@ -48,24 +48,26 @@ MediaPlayerEncoder *LibTremorPluginImpl::encoder()
48 return NULL; 48 return NULL;
49} 49}
50 50
51 51
52#ifndef QT_NO_COMPONENT 52#ifndef QT_NO_COMPONENT
53 53
54 54
55QRESULT LibTremorPluginImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) 55QRESULT LibTremorPluginImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface )
56{ 56{
57 *iface = 0; 57 *iface = 0;
58 if ( ( uuid == IID_QUnknown ) || ( uuid == IID_MediaPlayerPlugin ) ) 58 if ( ( uuid == IID_QUnknown ) || ( uuid == IID_MediaPlayerPlugin ) )
59 *iface = this, (*iface)->addRef(); 59 *iface = this, (*iface)->addRef();
60 else
61 return QS_FALSE;
60 return QS_OK; 62 return QS_OK;
61} 63}
62 64
63 65
64Q_EXPORT_INTERFACE() 66Q_EXPORT_INTERFACE()
65{ 67{
66 Q_CREATE_INSTANCE( LibTremorPluginImpl ) 68 Q_CREATE_INSTANCE( LibTremorPluginImpl )
67} 69}
68 70
69 71
70#endif 72#endif
71 73