--- a/deviceupdatesui/deviceupdates/src/dmadvancedview.cpp Tue Jul 13 04:01:20 2010 +0530
+++ b/deviceupdatesui/deviceupdates/src/dmadvancedview.cpp Fri Jul 23 16:30:56 2010 +0530
@@ -75,7 +75,8 @@
connect(defaultprofileAction, SIGNAL(triggered()), this,
SLOT(defaultMenuItemSelected()));
}
- if (!dminfo->Isprofilelocked(currentselecteditem))
+ if (!dminfo->Isprofilelocked(currentselecteditem) &&
+ dminfo->isProfileDeleteAllowed(currentselecteditem) )
{
deleteaction = csmenu->addAction(hbTrId(
"txt_device_update_menu_delete"));