-rw-r--r-- | core/applets/logoutapplet/logout.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/applets/logoutapplet/logout.cpp b/core/applets/logoutapplet/logout.cpp index 1769ae6..8d3cdba 100644 --- a/core/applets/logoutapplet/logout.cpp +++ b/core/applets/logoutapplet/logout.cpp @@ -108,12 +108,14 @@ QRESULT LogoutApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **if { *iface = 0; if ( uuid == IID_QUnknown ) *iface = this; else if ( uuid == IID_MenuApplet ) *iface = this; + else + return QS_FALSE; if ( *iface ) (*iface)-> addRef ( ); return QS_OK; } |