-rw-r--r-- | kalarmd/simplealarmdaemonapplet.cpp | 6 |
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 @@ -16,3 +16,3 @@ SimpleAlarmDaemonApplet::~SimpleAlarmDaemonApplet() { - //delete mApplet; + delete mApplet; mApplet = 0; @@ -43,3 +43,2 @@ QRESULT SimpleAlarmDaemonApplet::queryInterface( const QUuid &uuid, QUnknownInte { - // qDebug(" SimpleAlarmDaemonApplet::queryInterface "); *iface = 0; @@ -49,3 +48,2 @@ QRESULT SimpleAlarmDaemonApplet::queryInterface( const QUuid &uuid, QUnknownInte *iface = this; - if ( *iface ) { @@ -54,3 +52,3 @@ QRESULT SimpleAlarmDaemonApplet::queryInterface( const QUuid &uuid, QUnknownInte } - return QE_NOINTERFACE; + return QS_FALSE; } |