-rw-r--r-- | core/applets/homeapplet/home.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/applets/homeapplet/home.cpp b/core/applets/homeapplet/home.cpp index 017de27..36307ab 100644 --- a/core/applets/homeapplet/home.cpp +++ b/core/applets/homeapplet/home.cpp @@ -68,12 +68,14 @@ QRESULT HomeApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **ifac { *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; } |