-rw-r--r-- | core/applets/restartapplet/restartappletimpl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/applets/restartapplet/restartappletimpl.cpp b/core/applets/restartapplet/restartappletimpl.cpp index e675c0b..5b0092d 100644 --- a/core/applets/restartapplet/restartappletimpl.cpp +++ b/core/applets/restartapplet/restartappletimpl.cpp @@ -48,12 +48,14 @@ QRESULT RestartAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface { *iface = 0; if ( uuid == IID_QUnknown ) *iface = this; else if ( uuid == IID_TaskbarApplet ) *iface = this; + else + return QS_FALSE; if ( *iface ) (*iface)->addRef(); return QS_OK; } |