summaryrefslogtreecommitdiff
path: root/core/pim/today/plugins/mail/mailpluginimpl.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/today/plugins/mail/mailpluginimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/mail/mailpluginimpl.cpp4
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 *
*iface = 0;
if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) ) {
*iface = this, (*iface)->addRef();
- }
+ }else
+ return QS_FALSE;
+
return QS_OK;
}