Diffstat (limited to 'noncore/todayplugins/fortune/fortunepluginimpl.cpp') (more/less context) (ignore 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 | |||
@@ -37,9 +37,11 @@ QRESULT FortunePluginImpl::queryInterface( const QUuid & uuid, QUnknownInterfac | |||
37 | { | 37 | { |
38 | *iface = 0; | 38 | *iface = 0; |
39 | if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) ) { | 39 | if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) ) { |
40 | *iface = this, (*iface)->addRef(); | 40 | *iface = this, (*iface)->addRef(); |
41 | } | 41 | }else |
42 | return QS_FALSE; | ||
43 | |||
42 | return QS_OK; | 44 | return QS_OK; |
43 | 45 | ||
44 | } | 46 | } |
45 | 47 | ||