radiohswidget/src/radiohswidget.cpp
changeset 38 f8c3d4e6102c
parent 36 ba22309243a1
child 44 0a3ad94fc71c
equal deleted inserted replaced
36:ba22309243a1 38:f8c3d4e6102c
  1083     LOG_METHOD_ENTER;
  1083     LOG_METHOD_ENTER;
  1084     // This is true by default because we might not be in offline profile and
  1084     // This is true by default because we might not be in offline profile and
  1085     // starting the radio is allowed in other profiles without asking a
  1085     // starting the radio is allowed in other profiles without asking a
  1086     // permission.
  1086     // permission.
  1087     bool radioStartPermssion = true;
  1087     bool radioStartPermssion = true;
  1088     if (mProfileMonitor->isCurrentProfileOffline()) {
  1088     if (mProfileMonitor->isInOfflineMode()) {
  1089         // Device is in offline profile, ask the user for permission to start
  1089         // Device is in offline profile, ask the user for permission to start
  1090         HbDeviceMessageBox box(hbTrId(
  1090         HbDeviceMessageBox box(hbTrId(
  1091             "txt_fmradiohswidget_rad_info_activate_radio_in_offline_mode_hs"),
  1091             "txt_fmradiohswidget_rad_info_activate_radio_in_offline_mode_hs"),
  1092             HbMessageBox::MessageTypeQuestion);
  1092             HbMessageBox::MessageTypeQuestion);
  1093         box.setTimeout(HbPopup::NoTimeout);
  1093         box.setTimeout(HbPopup::NoTimeout);