summaryrefslogtreecommitdiffabout
path: root/kalarmd
Unidiff
Diffstat (limited to 'kalarmd') (more/less context) (ignore whitespace changes)
-rw-r--r--kalarmd/simplealarmdaemonapplet.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/kalarmd/simplealarmdaemonapplet.cpp b/kalarmd/simplealarmdaemonapplet.cpp
index 3277036..73b1e07 100644
--- a/kalarmd/simplealarmdaemonapplet.cpp
+++ b/kalarmd/simplealarmdaemonapplet.cpp
@@ -15,5 +15,5 @@ SimpleAlarmDaemonApplet::SimpleAlarmDaemonApplet()
15SimpleAlarmDaemonApplet::~SimpleAlarmDaemonApplet() 15SimpleAlarmDaemonApplet::~SimpleAlarmDaemonApplet()
16{ 16{
17 //delete mApplet; 17 delete mApplet;
18 mApplet = 0; 18 mApplet = 0;
19} 19}
@@ -42,5 +42,4 @@ int SimpleAlarmDaemonApplet::position() const
42QRESULT SimpleAlarmDaemonApplet::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) 42QRESULT SimpleAlarmDaemonApplet::queryInterface( const QUuid &uuid, QUnknownInterface **iface )
43{ 43{
44 // qDebug(" SimpleAlarmDaemonApplet::queryInterface ");
45 *iface = 0; 44 *iface = 0;
46 if ( uuid == IID_QUnknown ) 45 if ( uuid == IID_QUnknown )
@@ -48,10 +47,9 @@ QRESULT SimpleAlarmDaemonApplet::queryInterface( const QUuid &uuid, QUnknownInte
48 else if ( uuid == IID_TaskbarApplet ) 47 else if ( uuid == IID_TaskbarApplet )
49 *iface = this; 48 *iface = this;
50
51 if ( *iface ) { 49 if ( *iface ) {
52 (*iface)->addRef(); 50 (*iface)->addRef();
53 return QS_OK; 51 return QS_OK;
54 } 52 }
55 return QE_NOINTERFACE; 53 return QS_FALSE;
56} 54}
57Q_EXPORT_INTERFACE() 55Q_EXPORT_INTERFACE()