Remove screenshot tool
This commit is contained in:
parent
a4d47edba5
commit
931d08d9d7
1 changed files with 1 additions and 6 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue