Diffstat (limited to 'core/pim/today/plugins/addressbook/addresspluginimpl.cpp') (more/less context) (ignore 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 @@ -27,20 +27,22 @@ AddressBookPluginImpl::~AddressBookPluginImpl() { delete addressbookPlugin; } TodayPluginObject* AddressBookPluginImpl::guiPart() { return addressbookPlugin; } 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 ); } |