From 6e34e6e90f3ea6a18101395afc7cf5fe86c427e8 Mon Sep 17 00:00:00 2001 From: zecke Date: Tue, 27 Jan 2004 19:00:49 +0000 Subject: return QS_FALSE if interface is not implemented --- (limited to 'noncore/applets/notesapplet/notesappletimpl.cpp') diff --git a/noncore/applets/notesapplet/notesappletimpl.cpp b/noncore/applets/notesapplet/notesappletimpl.cpp index 0526bad..93de433 100644 --- a/noncore/applets/notesapplet/notesappletimpl.cpp +++ b/noncore/applets/notesapplet/notesappletimpl.cpp @@ -38,6 +38,8 @@ QRESULT NotesAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface ** *iface = this; else if ( uuid == IID_TaskbarApplet ) *iface = this; + else + return QS_FALSE; if ( *iface ) (*iface)->addRef(); -- cgit v0.9.0.2