From fd728bc89b6a04fac0bbc590da7dd6f488822ef6 Mon Sep 17 00:00:00 2001 From: zautrix Date: Wed, 27 Oct 2004 15:32:48 +0000 Subject: fixed apalm apllet --- (limited to 'kalarmd') diff --git a/kalarmd/simplealarmdaemonapplet.cpp b/kalarmd/simplealarmdaemonapplet.cpp index 94d8428..38a744f 100644 --- a/kalarmd/simplealarmdaemonapplet.cpp +++ b/kalarmd/simplealarmdaemonapplet.cpp @@ -46,10 +46,11 @@ QRESULT SimpleAlarmDaemonApplet::queryInterface( const QUuid &uuid, QUnknownInte *iface = this; else if ( uuid == IID_TaskbarApplet ) *iface = this; - - if ( *iface ) - (*iface)->addRef(); - return QS_OK; + if ( *iface ) { + //(*iface)->addRef(); + return QS_OK; + } + return QE_NOCOMPONENT; } Q_EXPORT_INTERFACE() -- cgit v0.9.0.2