From ed3b1be69915eaff3bfad542fd50bb18624c323e Mon Sep 17 00:00:00 2001 From: zautrix Date: Wed, 05 Jan 2005 21:30:19 +0000 Subject: fix --- (limited to 'kalarmd') diff --git a/kalarmd/simplealarmdaemonapplet.cpp b/kalarmd/simplealarmdaemonapplet.cpp index 3277036..73b1e07 100644 --- a/kalarmd/simplealarmdaemonapplet.cpp +++ b/kalarmd/simplealarmdaemonapplet.cpp @@ -14,7 +14,7 @@ SimpleAlarmDaemonApplet::SimpleAlarmDaemonApplet() SimpleAlarmDaemonApplet::~SimpleAlarmDaemonApplet() { - //delete mApplet; + delete mApplet; mApplet = 0; } @@ -41,18 +41,16 @@ int SimpleAlarmDaemonApplet::position() const QRESULT SimpleAlarmDaemonApplet::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) { - // qDebug(" SimpleAlarmDaemonApplet::queryInterface "); *iface = 0; if ( uuid == IID_QUnknown ) *iface = this; else if ( uuid == IID_TaskbarApplet ) *iface = this; - if ( *iface ) { (*iface)->addRef(); return QS_OK; } - return QE_NOINTERFACE; + return QS_FALSE; } Q_EXPORT_INTERFACE() { -- cgit v0.9.0.2