deviceupdatesui/deviceupdates/src/dmadvancedview.cpp
changeset 49 c34c36d1c835
parent 47 d316aecb87fd
child 56 a9afc3a8dbfa
--- 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"));