-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 38a744f..3277036 100644 --- a/kalarmd/simplealarmdaemonapplet.cpp +++ b/kalarmd/simplealarmdaemonapplet.cpp | |||
@@ -16,3 +16,3 @@ SimpleAlarmDaemonApplet::~SimpleAlarmDaemonApplet() | |||
16 | { | 16 | { |
17 | delete mApplet; | 17 | //delete mApplet; |
18 | mApplet = 0; | 18 | mApplet = 0; |
@@ -43,2 +43,3 @@ QRESULT SimpleAlarmDaemonApplet::queryInterface( const QUuid &uuid, QUnknownInte | |||
43 | { | 43 | { |
44 | // qDebug(" SimpleAlarmDaemonApplet::queryInterface "); | ||
44 | *iface = 0; | 45 | *iface = 0; |
@@ -48,9 +49,9 @@ QRESULT SimpleAlarmDaemonApplet::queryInterface( const QUuid &uuid, QUnknownInte | |||
48 | *iface = this; | 49 | *iface = this; |
50 | |||
49 | if ( *iface ) { | 51 | if ( *iface ) { |
50 | //(*iface)->addRef(); | 52 | (*iface)->addRef(); |
51 | return QS_OK; | 53 | return QS_OK; |
52 | } | 54 | } |
53 | return QE_NOCOMPONENT; | 55 | return QE_NOINTERFACE; |
54 | } | 56 | } |
55 | |||
56 | Q_EXPORT_INTERFACE() | 57 | Q_EXPORT_INTERFACE() |