574 @return tuple of selected time zone (string) and flag indicating |
574 @return tuple of selected time zone (string) and flag indicating |
575 the acceptance state (boolean) |
575 the acceptance state (boolean) |
576 """ |
576 """ |
577 dlg = TimezoneSelectionDialog(parent) |
577 dlg = TimezoneSelectionDialog(parent) |
578 tz = "" |
578 tz = "" |
579 if dlg.exec_() == QDialog.Accepted: |
579 if dlg.exec() == QDialog.Accepted: |
580 tz = dlg.getData() |
580 tz = dlg.getData() |
581 return tz, bool(tz) |
581 return tz, bool(tz) |