-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 | 2 |
3 files changed, 6 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 @@ -29,5 +29,6 @@ QRESULT AutoRotateImpl::queryInterface( const QUuid &uuid, QUnknownInterface **i } else if ( uuid == IID_TaskbarApplet ) { *iface = this; - } + } else + return QS_FALSE; 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 ** else if ( uuid == IID_TaskbarApplet ) *iface = this; + else + return QS_FALSE; 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,4 +51,6 @@ QRESULT WirelessAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface else if ( uuid == IID_TaskbarApplet ) *iface = this; + else + return QS_FALSE; if ( *iface ) |