-rw-r--r-- | core/applets/restartapplet2/restart.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/applets/restartapplet2/restart.cpp b/core/applets/restartapplet2/restart.cpp index caed9e5..576087b 100644 --- a/core/applets/restartapplet2/restart.cpp +++ b/core/applets/restartapplet2/restart.cpp @@ -93,6 +93,8 @@ QRESULT RestartApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **i *iface = this; else if ( uuid == IID_MenuApplet ) *iface = this; + else + return QS_FALSE; if ( *iface ) (*iface)-> addRef ( ); |