aboutsummaryrefslogtreecommitdiffstats
path: root/examples/widgets/tutorials/addressbook/part5.py
diff options
context:
space:
mode:
authorAdrian Herrmann <adrian.herrmann@qt.io>2023-12-05 13:10:16 +0100
committerAdrian Herrmann <adrian.herrmann@qt.io>2023-12-06 15:04:33 +0100
commitdcf38e34858ee74857a1cc431b12a3b88865cade (patch)
treeb49d3bab810ad590ec15dc1cbf5a9566c1472b23 /examples/widgets/tutorials/addressbook/part5.py
parent55015346f4107ca3383e7ab54be38e72ec8b07d1 (diff)
Examples: Fix a number of flake8 errors (part 3)
Fix unused variable errors and other miscellaneous errors not included in parts 1 and 2. Pick-to: 6.6 Change-Id: Ifb4336cd4ecdd62928042e1011d4430a461efc7c Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/widgets/tutorials/addressbook/part5.py')
-rw-r--r--examples/widgets/tutorials/addressbook/part5.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/widgets/tutorials/addressbook/part5.py b/examples/widgets/tutorials/addressbook/part5.py
index 921c210d4..1e9c05862 100644
--- a/examples/widgets/tutorials/addressbook/part5.py
+++ b/examples/widgets/tutorials/addressbook/part5.py
@@ -175,7 +175,6 @@ class AddressBook(QWidget):
@Slot()
def remove_contact(self):
name = self._name_line.text()
- address = self._address_text.toPlainText()
if name in self.contacts:
button = QMessageBox.question(self, "Confirm Remove",