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/datebook/datebookpluginimpl.cpp') diff --git a/core/pim/today/plugins/datebook/datebookpluginimpl.cpp b/core/pim/today/plugins/datebook/datebookpluginimpl.cpp index 45736bb..6baffb9 100644 --- a/core/pim/today/plugins/datebook/datebookpluginimpl.cpp +++ b/core/pim/today/plugins/datebook/datebookpluginimpl.cpp @@ -33,7 +33,9 @@ QRESULT DatebookPluginImpl::queryInterface( const QUuid & uuid, QUnknownInterfa *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