diff --git a/desktop/src/onionshare/resources/locale/en.json b/desktop/src/onionshare/resources/locale/en.json index b56c52d8..63971b3f 100644 --- a/desktop/src/onionshare/resources/locale/en.json +++ b/desktop/src/onionshare/resources/locale/en.json @@ -32,7 +32,6 @@ "gui_copied_hidservauth": "HidServAuth line copied to clipboard", "gui_show_url_qr_code": "Show QR Code", "gui_qr_code_dialog_title": "OnionShare QR Code", - "gui_qr_code_description": "Scan this QR code with a QR reader, such as the camera on your phone, in order to more easily share the OnionShare address with someone.", "gui_waiting_to_start": "Scheduled to start in {}. Click to cancel.", "gui_please_wait": "Starting… Click to cancel.", "error_rate_limit": "Someone has made too many wrong attempts to guess your password, so OnionShare has stopped the server. Start sharing again and send the recipient a new address to share.", diff --git a/desktop/src/onionshare/widgets.py b/desktop/src/onionshare/widgets.py index 6fffd77f..68642f28 100644 --- a/desktop/src/onionshare/widgets.py +++ b/desktop/src/onionshare/widgets.py @@ -140,15 +140,9 @@ class QRCodeDialog(QtWidgets.QDialog): self.qr_label = QtWidgets.QLabel(self) self.qr_label.setPixmap(qrcode.make(self.text, image_factory=Image).pixmap()) - self.qr_label_description = QtWidgets.QLabel(self) - self.qr_label_description.setText(strings._("gui_qr_code_description")) - self.qr_label_description.setWordWrap(True) - self.setWindowTitle(strings._("gui_qr_code_dialog_title")) self.setWindowIcon(QtGui.QIcon(GuiCommon.get_resource_path("images/logo.png"))) layout = QtWidgets.QVBoxLayout(self) layout.addWidget(self.qr_label) - layout.addWidget(self.qr_label_description) self.exec_() -