summaryrefslogtreecommitdiff
path: root/core/obex
Side-by-side diff
Diffstat (limited to 'core/obex') (more/less context) (ignore whitespace changes)
-rw-r--r--core/obex/obeximpl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/obex/obeximpl.cpp b/core/obex/obeximpl.cpp
index 5bfc779..5b53644 100644
--- a/core/obex/obeximpl.cpp
+++ b/core/obex/obeximpl.cpp
@@ -17,6 +17,8 @@ QRESULT ObexImpl::queryInterface( const QUuid& uuid, QUnknownInterface **iface )
*iface = this;
}else if ( uuid == IID_ObexInterface )
*iface = this;
+ else
+ return QS_FALSE;
if (*iface)
(*iface)->addRef();