-rw-r--r-- | core/applets/restartapplet/restartappletimpl.cpp | 4 |
1 files changed, 3 insertions, 1 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 @@ -52,5 +52,7 @@ QRESULT RestartAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface else if ( uuid == IID_TaskbarApplet ) *iface = this; - + else + return QS_FALSE; + if ( *iface ) (*iface)->addRef(); |