summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-01-05 21:30:19 (UTC)
committer zautrix <zautrix>2005-01-05 21:30:19 (UTC)
commited3b1be69915eaff3bfad542fd50bb18624c323e (patch) (side-by-side diff)
tree2c721bafdd75113c2b92d305ad4cf4199a6cef07
parent9bbe06c6cbf70ab8741acc6b356890c072b103e8 (diff)
downloadkdepimpi-ed3b1be69915eaff3bfad542fd50bb18624c323e.zip
kdepimpi-ed3b1be69915eaff3bfad542fd50bb18624c323e.tar.gz
kdepimpi-ed3b1be69915eaff3bfad542fd50bb18624c323e.tar.bz2
fix
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--bin/kdepim/WhatsNew.txt2
-rw-r--r--kalarmd/simplealarmdaemonapplet.cpp6
2 files changed, 3 insertions, 5 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt
index df0b2eb..6a9a200 100644
--- a/bin/kdepim/WhatsNew.txt
+++ b/bin/kdepim/WhatsNew.txt
@@ -13,5 +13,5 @@ Fixed some minor problems. (Like word wrap in help text windows).
Fixed a strange problem in KO/Pi alarm applet.
Did not find the actual problem,
-such that now Qtopia reboots if deinstalling the alarm applet.
+such that now Qtopia reboots again if deinstalling the alarm applet.
But the alarm applet should work again.
diff --git a/kalarmd/simplealarmdaemonapplet.cpp b/kalarmd/simplealarmdaemonapplet.cpp
index 3277036..73b1e07 100644
--- a/kalarmd/simplealarmdaemonapplet.cpp
+++ b/kalarmd/simplealarmdaemonapplet.cpp
@@ -15,5 +15,5 @@ SimpleAlarmDaemonApplet::SimpleAlarmDaemonApplet()
SimpleAlarmDaemonApplet::~SimpleAlarmDaemonApplet()
{
- //delete mApplet;
+ delete mApplet;
mApplet = 0;
}
@@ -42,5 +42,4 @@ int SimpleAlarmDaemonApplet::position() const
QRESULT SimpleAlarmDaemonApplet::queryInterface( const QUuid &uuid, QUnknownInterface **iface )
{
- // qDebug(" SimpleAlarmDaemonApplet::queryInterface ");
*iface = 0;
if ( uuid == IID_QUnknown )
@@ -48,10 +47,9 @@ QRESULT SimpleAlarmDaemonApplet::queryInterface( const QUuid &uuid, QUnknownInte
else if ( uuid == IID_TaskbarApplet )
*iface = this;
-
if ( *iface ) {
(*iface)->addRef();
return QS_OK;
}
- return QE_NOINTERFACE;
+ return QS_FALSE;
}
Q_EXPORT_INTERFACE()