Diffstat (limited to 'noncore/todayplugins/fortune/fortunepluginimpl.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/todayplugins/fortune/fortunepluginimpl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/todayplugins/fortune/fortunepluginimpl.cpp b/noncore/todayplugins/fortune/fortunepluginimpl.cpp index 466e322..090aaa7 100644 --- a/noncore/todayplugins/fortune/fortunepluginimpl.cpp +++ b/noncore/todayplugins/fortune/fortunepluginimpl.cpp @@ -40,3 +40,5 @@ QRESULT FortunePluginImpl::queryInterface( const QUuid & uuid, QUnknownInterfac *iface = this, (*iface)->addRef(); - } + }else + return QS_FALSE; + return QS_OK; |