summaryrefslogtreecommitdiff
path: root/core/applets/vmemo/vmemoimpl.cpp
Unidiff
Diffstat (limited to 'core/applets/vmemo/vmemoimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/vmemo/vmemoimpl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/applets/vmemo/vmemoimpl.cpp b/core/applets/vmemo/vmemoimpl.cpp
index ef4a3a6..71d47e5 100644
--- a/core/applets/vmemo/vmemoimpl.cpp
+++ b/core/applets/vmemo/vmemoimpl.cpp
@@ -38,22 +38,24 @@ QWidget *VMemoAppletImpl::applet( QWidget *parent )
38int VMemoAppletImpl::position() const 38int VMemoAppletImpl::position() const
39{ 39{
40 return 6; 40 return 6;
41} 41}
42 42
43QRESULT VMemoAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) 43QRESULT VMemoAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface )
44{ 44{
45 *iface = 0; 45 *iface = 0;
46 if ( uuid == IID_QUnknown ) 46 if ( uuid == IID_QUnknown )
47 *iface = this; 47 *iface = this;
48 else if ( uuid == IID_TaskbarApplet ) 48 else if ( uuid == IID_TaskbarApplet )
49 *iface = this; 49 *iface = this;
50 else
51 return QS_FALSE;
50 52
51 if ( *iface ) 53 if ( *iface )
52 (*iface)->addRef(); 54 (*iface)->addRef();
53 return QS_OK; 55 return QS_OK;
54} 56}
55 57
56Q_EXPORT_INTERFACE() 58Q_EXPORT_INTERFACE()
57{ 59{
58 Q_CREATE_INSTANCE( VMemoAppletImpl ) 60 Q_CREATE_INSTANCE( VMemoAppletImpl )
59 } 61 }