-rw-r--r-- | core/applets/vtapplet/vt.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/applets/vtapplet/vt.cpp b/core/applets/vtapplet/vt.cpp index 4cc2d60..cdd3c97 100644 --- a/core/applets/vtapplet/vt.cpp +++ b/core/applets/vtapplet/vt.cpp @@ -145,12 +145,14 @@ QRESULT VTApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **iface { *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; } |