summaryrefslogtreecommitdiff
path: root/core/applets/restartapplet
Side-by-side diff
Diffstat (limited to 'core/applets/restartapplet') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/restartapplet/restartappletimpl.cpp4
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
@@ -51,7 +51,9 @@ QRESULT RestartAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface
*iface = this;
else if ( uuid == IID_TaskbarApplet )
*iface = this;
-
+ else
+ return QS_FALSE;
+
if ( *iface )
(*iface)->addRef();
return QS_OK;