Diffstat (limited to 'core/applets/rotateapplet/rotate.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/applets/rotateapplet/rotate.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/applets/rotateapplet/rotate.cpp b/core/applets/rotateapplet/rotate.cpp index 906063e..b676c74 100644 --- a/core/applets/rotateapplet/rotate.cpp +++ b/core/applets/rotateapplet/rotate.cpp | |||
@@ -239,12 +239,14 @@ QRESULT RotateApplet::queryInterface( const QUuid &uuid, QUnknownInterface **ifa | |||
239 | { | 239 | { |
240 | *iface = 0; | 240 | *iface = 0; |
241 | if ( uuid == IID_QUnknown ) | 241 | if ( uuid == IID_QUnknown ) |
242 | *iface = this; | 242 | *iface = this; |
243 | else if ( uuid == IID_MenuApplet ) | 243 | else if ( uuid == IID_MenuApplet ) |
244 | *iface = this; | 244 | *iface = this; |
245 | else | ||
246 | return QS_FALSE; | ||
245 | 247 | ||
246 | if ( *iface ) | 248 | if ( *iface ) |
247 | (*iface)->addRef(); | 249 | (*iface)->addRef(); |
248 | return QS_OK; | 250 | return QS_OK; |
249 | } | 251 | } |
250 | 252 | ||