-rw-r--r-- | kalarmd/simplealarmdaemonapplet.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/kalarmd/simplealarmdaemonapplet.cpp b/kalarmd/simplealarmdaemonapplet.cpp index 94d8428..38a744f 100644 --- a/kalarmd/simplealarmdaemonapplet.cpp +++ b/kalarmd/simplealarmdaemonapplet.cpp @@ -48,6 +48,7 @@ QRESULT SimpleAlarmDaemonApplet::queryInterface( const QUuid &uuid, QUnknownInte *iface = this; - - if ( *iface ) - (*iface)->addRef(); - return QS_OK; + if ( *iface ) { + //(*iface)->addRef(); + return QS_OK; + } + return QE_NOCOMPONENT; } |