iaupdate/IAD/ui/src/iaupdateautomaticcheck.cpp
changeset 77 d1838696558c
parent 42 d17dc5398051
equal deleted inserted replaced
75:2d2d25361590 77:d1838696558c
   109 	        	mDialogUtil = new IAUpdateDialogUtil(NULL, this);
   109 	        	mDialogUtil = new IAUpdateDialogUtil(NULL, this);
   110 	            }
   110 	            }
   111 	        if ( mDialogUtil )
   111 	        if ( mDialogUtil )
   112 	            {
   112 	            {
   113 	            mPrimaryAction = NULL;
   113 	            mPrimaryAction = NULL;
   114 	            mPrimaryAction = new HbAction("Yes");
   114 	            mPrimaryAction = new HbAction(hbTrId("txt_common_button_yes"));
   115 	            HbAction *secondaryAction = NULL;
   115 	            HbAction *secondaryAction = NULL;
   116 	            secondaryAction = new HbAction("No");
   116 	            secondaryAction = new HbAction(hbTrId("txt_common_button_no"));
   117 	            mDialogUtil->showQuestion(QString("Turn on setting for Automatic update checks?"), mPrimaryAction, secondaryAction);
   117 	            mDialogUtil->showQuestion(
       
   118 	                hbTrId("txt_software_info_allow_automatic_update_checks"),
       
   119 	                mPrimaryAction,
       
   120 	                secondaryAction);
       
   121 	                
   118 	            }
   122 	            }
   119  	        }
   123  	        }
   120 	    }
   124 	    }
   121 	CleanupStack::PopAndDestroy( firstTimeInfo ); 
   125 	CleanupStack::PopAndDestroy( firstTimeInfo ); 
   122     }
   126     }