devicemgmtdialogsplugin/src/devicemanagementnotifierplugin.cpp
changeset 67 fdbfe0a95492
parent 47 d316aecb87fd
--- a/devicemgmtdialogsplugin/src/devicemanagementnotifierplugin.cpp	Fri Sep 17 19:58:05 2010 +0530
+++ b/devicemgmtdialogsplugin/src/devicemanagementnotifierplugin.cpp	Fri Oct 15 11:39:02 2010 +0530
@@ -67,7 +67,9 @@
 bool devicemanagementnotifierplugin::accessAllowed(const QString &deviceDialogType,
     const QVariantMap &parameters, const QVariantMap &securityInfo) const
 {
-       
+    Q_UNUSED(deviceDialogType);
+    Q_UNUSED(parameters);
+    Q_UNUSED(securityInfo);
     // This plugin doesn't perform operations that may compromise security.
     // All clients are allowed to use.
     return true;
@@ -89,17 +91,18 @@
             // Return specific object for showing appropriate dialog
             return new omacppinquerydialog(parameters);
             }
-           
-        if (dialogtype >= EFwDLNeedMoreMemory && dialogtype <= EFwUpdResumeUpdate)
-            {
-            // Return specific object for showing appropriate dialog
-            return new fotadevicedialogs(parameters);
-            }
+
+        //if (dialogtype >= EFwDLNeedMoreMemory && dialogtype <= EFwUpdResumeUpdate)
+        //{
+        // Return specific object for showing appropriate dialog
+        // return new fotadevicedialogs(parameters);
+        //}
 
         }
+
     return new devicemanagementnotifierwidget(parameters);
-        
-}
+    
+    }
 
 // Return information of device dialog the plugin creates
 bool devicemanagementnotifierplugin::deviceDialogInfo(const QString &deviceDialogType,