Diffstat (limited to 'core/applets/suspendapplet/suspend.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/applets/suspendapplet/suspend.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/applets/suspendapplet/suspend.cpp b/core/applets/suspendapplet/suspend.cpp index 4bdc8fb..63f16b8 100644 --- a/core/applets/suspendapplet/suspend.cpp +++ b/core/applets/suspendapplet/suspend.cpp | |||
@@ -68,12 +68,14 @@ QRESULT SuspendApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **i | |||
68 | { | 68 | { |
69 | *iface = 0; | 69 | *iface = 0; |
70 | if ( uuid == IID_QUnknown ) | 70 | if ( uuid == IID_QUnknown ) |
71 | *iface = this; | 71 | *iface = this; |
72 | else if ( uuid == IID_MenuApplet ) | 72 | else if ( uuid == IID_MenuApplet ) |
73 | *iface = this; | 73 | *iface = this; |
74 | else | ||
75 | return QS_FALSE; | ||
74 | 76 | ||
75 | if ( *iface ) | 77 | if ( *iface ) |
76 | (*iface)-> addRef ( ); | 78 | (*iface)-> addRef ( ); |
77 | return QS_OK; | 79 | return QS_OK; |
78 | } | 80 | } |
79 | 81 | ||