Remove screenshot tool

This commit is contained in:
Miguel Jacq 2025-11-18 16:22:07 +11:00
parent a4d47edba5
commit 931d08d9d7
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9

View file

@ -1,7 +1,6 @@
from __future__ import annotations from __future__ import annotations
import importlib.metadata import importlib.metadata
from pathlib import Path
import requests import requests
@ -32,8 +31,6 @@ class BugReportDialog(QDialog):
super().__init__(parent) super().__init__(parent)
self.setWindowTitle(strings._("report_a_bug")) self.setWindowTitle(strings._("report_a_bug"))
self._attachment_path: Path | None = None
layout = QVBoxLayout(self) layout = QVBoxLayout(self)
header = QLabel(strings._("bug_report_explanation")) header = QLabel(strings._("bug_report_explanation"))
@ -48,9 +45,7 @@ class BugReportDialog(QDialog):
# Buttons: Cancel / Send # Buttons: Cancel / Send
button_box = QDialogButtonBox(QDialogButtonBox.Cancel) button_box = QDialogButtonBox(QDialogButtonBox.Cancel)
self.send_button = button_box.addButton( button_box.addButton(strings._("send"), QDialogButtonBox.AcceptRole)
strings._("send"), QDialogButtonBox.AcceptRole
)
button_box.accepted.connect(self._send) button_box.accepted.connect(self._send)
button_box.rejected.connect(self.reject) button_box.rejected.connect(self.reject)
layout.addWidget(button_box) layout.addWidget(button_box)