--- a/src/hbwidgets/devicedialogs/hbdevicenotificationdialogsymbian.cpp Tue Jul 06 14:36:53 2010 +0300
+++ b/src/hbwidgets/devicedialogs/hbdevicenotificationdialogsymbian.cpp Wed Aug 18 10:05:37 2010 +0300
@@ -78,9 +78,11 @@
CHbDeviceNotificationDialogSymbianPrivate::~CHbDeviceNotificationDialogSymbianPrivate()
{
if (!iObserver && q->Timeout() != 0) {
- iDeviceDialog->SetObserver(NULL);
+ if (iDeviceDialog) {
+ iDeviceDialog->SetObserver(NULL);
}
-
+ }
+
delete iDeviceDialog;
delete iVariantMap;
}
@@ -183,7 +185,7 @@
/*!
\fn void MHbDeviceNotificationDialogObserver::NotificationDialogError(const CHbDeviceNotificationDialogSymbian* aDialog, TInt aError) = 0;
- This callback is called when an error has occured.
+ This callback is called when an error has occurred.
\a aDialog - Pointer to dialog instance which received closed event.
\a aError - Error code.
*/
@@ -465,7 +467,7 @@
/*!
Set and update title on dialog. Title is not set, if Show() or Update()
is not called.
- \param title - aTitle shown on dialog.
+ \param aTitle - title shown on dialog.
\sa ShowL(), UpdateL()
*/
EXPORT_C void CHbDeviceNotificationDialogSymbian::SetTitleL(const TDesC& aTitle)