Diffstat (limited to 'core/pim/today/plugins/addressbook/addresspluginimpl.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/today/plugins/addressbook/addresspluginimpl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/pim/today/plugins/addressbook/addresspluginimpl.cpp b/core/pim/today/plugins/addressbook/addresspluginimpl.cpp index 54e620e..15cd805 100644 --- a/core/pim/today/plugins/addressbook/addresspluginimpl.cpp +++ b/core/pim/today/plugins/addressbook/addresspluginimpl.cpp @@ -33,13 +33,15 @@ TodayPluginObject* AddressBookPluginImpl::guiPart() { } QRESULT AddressBookPluginImpl::queryInterface( const QUuid & uuid, QUnknownInterface **iface ) { *iface = 0; if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) ) { *iface = this, (*iface)->addRef(); - } + }else + return QS_FALSE; + return QS_OK; } Q_EXPORT_INTERFACE() { Q_CREATE_INSTANCE( AddressBookPluginImpl ); |