Diffstat (limited to 'noncore/applets/autorotateapplet/autorotateimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/applets/autorotateapplet/autorotateimpl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/applets/autorotateapplet/autorotateimpl.cpp b/noncore/applets/autorotateapplet/autorotateimpl.cpp index 01d8a01..1b15c6d 100644 --- a/noncore/applets/autorotateapplet/autorotateimpl.cpp +++ b/noncore/applets/autorotateapplet/autorotateimpl.cpp | |||
@@ -25,13 +25,14 @@ int AutoRotateImpl::position() const { | |||
25 | QRESULT AutoRotateImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) { | 25 | QRESULT AutoRotateImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) { |
26 | *iface = 0; | 26 | *iface = 0; |
27 | if ( uuid == IID_QUnknown ) { | 27 | if ( uuid == IID_QUnknown ) { |
28 | *iface = this; | 28 | *iface = this; |
29 | } else if ( uuid == IID_TaskbarApplet ) { | 29 | } else if ( uuid == IID_TaskbarApplet ) { |
30 | *iface = this; | 30 | *iface = this; |
31 | } | 31 | } else |
32 | return QS_FALSE; | ||
32 | 33 | ||
33 | if ( *iface ) { | 34 | if ( *iface ) { |
34 | (*iface)->addRef(); | 35 | (*iface)->addRef(); |
35 | } | 36 | } |
36 | return QS_OK; | 37 | return QS_OK; |
37 | } | 38 | } |