summaryrefslogtreecommitdiff
path: root/noncore/applets/notesapplet/notesappletimpl.cpp
Unidiff
Diffstat (limited to 'noncore/applets/notesapplet/notesappletimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/applets/notesapplet/notesappletimpl.cpp2
1 files changed, 2 insertions, 0 deletions
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
@@ -35,12 +35,14 @@ int NotesAppletImpl::position() const {
35QRESULT NotesAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) { 35QRESULT NotesAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) {
36 *iface = 0; 36 *iface = 0;
37 if ( uuid == IID_QUnknown ) 37 if ( uuid == IID_QUnknown )
38 *iface = this; 38 *iface = this;
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 )
43 (*iface)->addRef(); 45 (*iface)->addRef();
44 return QS_OK; 46 return QS_OK;
45} 47}
46 48