-rw-r--r-- | noncore/applets/autorotateapplet/autorotateimpl.cpp | 3 | ||||
-rw-r--r-- | noncore/applets/notesapplet/notesappletimpl.cpp | 2 | ||||
-rw-r--r-- | noncore/applets/wirelessapplet/wirelessappletimpl.cpp | 4 |
3 files changed, 7 insertions, 2 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 | |||
@@ -29,5 +29,6 @@ QRESULT AutoRotateImpl::queryInterface( const QUuid &uuid, QUnknownInterface **i | |||
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 ) { |
diff --git a/noncore/applets/notesapplet/notesappletimpl.cpp b/noncore/applets/notesapplet/notesappletimpl.cpp index 0526bad..93de433 100644 --- a/noncore/applets/notesapplet/notesappletimpl.cpp +++ b/noncore/applets/notesapplet/notesappletimpl.cpp | |||
@@ -39,4 +39,6 @@ QRESULT NotesAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface ** | |||
39 | else if ( uuid == IID_TaskbarApplet ) | 39 | else if ( uuid == IID_TaskbarApplet ) |
40 | *iface = this; | 40 | *iface = this; |
41 | else | ||
42 | return QS_FALSE; | ||
41 | 43 | ||
42 | if ( *iface ) | 44 | if ( *iface ) |
diff --git a/noncore/applets/wirelessapplet/wirelessappletimpl.cpp b/noncore/applets/wirelessapplet/wirelessappletimpl.cpp index eb00459..8b7afcf 100644 --- a/noncore/applets/wirelessapplet/wirelessappletimpl.cpp +++ b/noncore/applets/wirelessapplet/wirelessappletimpl.cpp | |||
@@ -51,5 +51,7 @@ QRESULT WirelessAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface | |||
51 | else if ( uuid == IID_TaskbarApplet ) | 51 | else if ( uuid == IID_TaskbarApplet ) |
52 | *iface = this; | 52 | *iface = this; |
53 | 53 | else | |
54 | return QS_FALSE; | ||
55 | |||
54 | if ( *iface ) | 56 | if ( *iface ) |
55 | (*iface)->addRef(); | 57 | (*iface)->addRef(); |