Diffstat (limited to 'core/applets/cardmon/cardmonimpl.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/applets/cardmon/cardmonimpl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/applets/cardmon/cardmonimpl.cpp b/core/applets/cardmon/cardmonimpl.cpp index 0aa55de..265214e 100644 --- a/core/applets/cardmon/cardmonimpl.cpp +++ b/core/applets/cardmon/cardmonimpl.cpp | |||
@@ -24,12 +24,14 @@ int CardMonitorImpl::position() const { | |||
24 | QRESULT CardMonitorImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) { | 24 | QRESULT CardMonitorImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) { |
25 | *iface = 0; | 25 | *iface = 0; |
26 | if ( uuid == IID_QUnknown ) { | 26 | if ( uuid == IID_QUnknown ) { |
27 | *iface = this; | 27 | *iface = this; |
28 | } else if ( uuid == IID_TaskbarApplet ) { | 28 | } else if ( uuid == IID_TaskbarApplet ) { |
29 | *iface = this; | 29 | *iface = this; |
30 | } else { | ||
31 | return QS_FALSE; | ||
30 | } | 32 | } |
31 | 33 | ||
32 | if ( *iface ) { | 34 | if ( *iface ) { |
33 | (*iface)->addRef(); | 35 | (*iface)->addRef(); |
34 | } | 36 | } |
35 | return QS_OK; | 37 | return QS_OK; |