summaryrefslogtreecommitdiff
path: root/core/applets/homeapplet/home.cpp
Side-by-side diff
Diffstat (limited to 'core/applets/homeapplet/home.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/homeapplet/home.cpp2
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
@@ -62,24 +62,26 @@ void HomeApplet::activated ( )
// to desktop (home)
QCopEnvelope ( "QPE/Application/qpe", "raise()" );
}
QRESULT HomeApplet::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;
}
Q_EXPORT_INTERFACE( )
{
Q_CREATE_INSTANCE( HomeApplet )
}