delete the activityId entry as well when deleting

cleanup the activityId entry when the config group is deleted

Change-Id: I1eb7559c3111f058a730a620646bfd3e03af8b5b
This commit is contained in:
Marco Martin 2015-02-02 19:03:39 +01:00
parent d4ea9ef66d
commit e2a6cc9c8e

View File

@ -542,6 +542,8 @@ void AppletPrivate::resetConfigurationObject()
mainConfig->deleteEntry("formfactor");
mainConfig->deleteEntry("immutability");
mainConfig->deleteEntry("location");
//if it's not a containment, deleting the non existing activityId entry does nothing
mainConfig->deleteEntry("activityId");
mainConfig->deleteGroup();
delete mainConfig;
mainConfig = 0;