From b2823e2919b746107b13ebdf603fa04cec8fba72 Mon Sep 17 00:00:00 2001 From: zecke Date: Tue, 27 Jan 2004 18:51:03 +0000 Subject: Return QS_FALSE if we don't implement the interface queried for --- (limited to 'core/pim/today/plugins/mail') diff --git a/core/pim/today/plugins/mail/mailpluginimpl.cpp b/core/pim/today/plugins/mail/mailpluginimpl.cpp index bd57bc9..dfd3a64 100644 --- a/core/pim/today/plugins/mail/mailpluginimpl.cpp +++ b/core/pim/today/plugins/mail/mailpluginimpl.cpp @@ -36,7 +36,9 @@ QRESULT MailPluginImpl::queryInterface( const QUuid & uuid, QUnknownInterface * *iface = 0; if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) ) { *iface = this, (*iface)->addRef(); - } + }else + return QS_FALSE; + return QS_OK; } -- cgit v0.9.0.2