summaryrefslogtreecommitdiffabout
path: root/kalarmd
Side-by-side diff
Diffstat (limited to 'kalarmd') (more/less context) (ignore whitespace changes)
-rw-r--r--kalarmd/simplealarmdaemonapplet.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/kalarmd/simplealarmdaemonapplet.cpp b/kalarmd/simplealarmdaemonapplet.cpp
index 38a744f..3277036 100644
--- a/kalarmd/simplealarmdaemonapplet.cpp
+++ b/kalarmd/simplealarmdaemonapplet.cpp
@@ -16,3 +16,3 @@ SimpleAlarmDaemonApplet::~SimpleAlarmDaemonApplet()
{
- delete mApplet;
+ //delete mApplet;
mApplet = 0;
@@ -43,2 +43,3 @@ QRESULT SimpleAlarmDaemonApplet::queryInterface( const QUuid &uuid, QUnknownInte
{
+ // qDebug(" SimpleAlarmDaemonApplet::queryInterface ");
*iface = 0;
@@ -48,9 +49,9 @@ QRESULT SimpleAlarmDaemonApplet::queryInterface( const QUuid &uuid, QUnknownInte
*iface = this;
+
if ( *iface ) {
- //(*iface)->addRef();
+ (*iface)->addRef();
return QS_OK;
}
- return QE_NOCOMPONENT;
+ return QE_NOINTERFACE;
}
-
Q_EXPORT_INTERFACE()