summaryrefslogtreecommitdiff
path: root/core/applets/irdaapplet
Side-by-side diff
Diffstat (limited to 'core/applets/irdaapplet') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/irdaapplet/irdaappletimpl.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/applets/irdaapplet/irdaappletimpl.cpp b/core/applets/irdaapplet/irdaappletimpl.cpp
index 02443db..3617698 100644
--- a/core/applets/irdaapplet/irdaappletimpl.cpp
+++ b/core/applets/irdaapplet/irdaappletimpl.cpp
@@ -50,7 +50,9 @@ QRESULT IrdaAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface **i
*iface = this;
else if ( uuid == IID_TaskbarApplet )
*iface = this;
-
+ else
+ return QS_FALSE;
+
if ( *iface )
(*iface)->addRef();
return QS_OK;