69 |
69 |
70 try: |
70 try: |
71 status = self.__mpy.getDevice().getBluetoothStatus() |
71 status = self.__mpy.getDevice().getBluetoothStatus() |
72 # status is a list of user labels and associated values |
72 # status is a list of user labels and associated values |
73 |
73 |
74 dlg = BluetoothStatusDialog(status, self.__mpy) |
74 dlg = BluetoothStatusDialog(status, parent=self.__mpy) |
75 dlg.exec() |
75 dlg.exec() |
76 except Exception as exc: |
76 except Exception as exc: |
77 self.__mpy.showError("getBluetoothStatus()", str(exc)) |
77 self.__mpy.showError("getBluetoothStatus()", str(exc)) |
78 |
78 |
79 @pyqtSlot() |
79 @pyqtSlot() |