aboutsummaryrefslogtreecommitdiffstats
path: root/examples/widgets/tutorials/addressbook/part4.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/tutorials/addressbook/part4.py')
-rw-r--r--examples/widgets/tutorials/addressbook/part4.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/widgets/tutorials/addressbook/part4.py b/examples/widgets/tutorials/addressbook/part4.py
index 535e3929f..95f31d46c 100644
--- a/examples/widgets/tutorials/addressbook/part4.py
+++ b/examples/widgets/tutorials/addressbook/part4.py
@@ -169,7 +169,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",