-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 | |||
@@ -92,8 +92,10 @@ QRESULT RestartApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **i | |||
92 | if ( uuid == IID_QUnknown ) | 92 | if ( uuid == IID_QUnknown ) |
93 | *iface = this; | 93 | *iface = this; |
94 | else if ( uuid == IID_MenuApplet ) | 94 | else if ( uuid == IID_MenuApplet ) |
95 | *iface = this; | 95 | *iface = this; |
96 | else | ||
97 | return QS_FALSE; | ||
96 | 98 | ||
97 | if ( *iface ) | 99 | if ( *iface ) |
98 | (*iface)-> addRef ( ); | 100 | (*iface)-> addRef ( ); |
99 | return QS_OK; | 101 | return QS_OK; |