author | zecke <zecke> | 2004-01-27 18:51:03 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-01-27 18:51:03 (UTC) |
commit | b2823e2919b746107b13ebdf603fa04cec8fba72 (patch) (unidiff) | |
tree | 2af5f5c5ebae9873605d069dfc2ebceb63d615aa /core/pim/today/plugins/mail | |
parent | fbe767bcc9f46f1d9bf680dc91eba983bc39fdeb (diff) | |
download | opie-b2823e2919b746107b13ebdf603fa04cec8fba72.zip opie-b2823e2919b746107b13ebdf603fa04cec8fba72.tar.gz opie-b2823e2919b746107b13ebdf603fa04cec8fba72.tar.bz2 |
Return QS_FALSE if we don't implement the interface queried for
-rw-r--r-- | core/pim/today/plugins/mail/mailpluginimpl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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 * | |||
36 | *iface = 0; | 36 | *iface = 0; |
37 | if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) ) { | 37 | if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) ) { |
38 | *iface = this, (*iface)->addRef(); | 38 | *iface = this, (*iface)->addRef(); |
39 | } | 39 | }else |
40 | return QS_FALSE; | ||
41 | |||
40 | return QS_OK; | 42 | return QS_OK; |
41 | 43 | ||
42 | } | 44 | } |