aboutsummaryrefslogtreecommitdiffstats
path: root/examples/widgets/tutorials/addressbook/part5.py
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2022-09-19 16:49:09 +0200
committerCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2022-09-21 18:01:52 +0000
commitcfaa4bc87d44e1c7c00b78c3cc0117559ef95cfe (patch)
treee540e70c1fed34a04b1b59c17d0f8a2534cc4f8e /examples/widgets/tutorials/addressbook/part5.py
parentc5f2631bdfc1ba4e5fd87375c59227681964654c (diff)
examples: fix unused imports and minor errors in 'widgets'
Change-Id: I0aad3aefb2f036bf4edc2d0942f007045d605e26 Reviewed-by: Adrian Herrmann <adrian.herrmann@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.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/widgets/tutorials/addressbook/part5.py b/examples/widgets/tutorials/addressbook/part5.py
index 41e725ce1..72245703f 100644
--- a/examples/widgets/tutorials/addressbook/part5.py
+++ b/examples/widgets/tutorials/addressbook/part5.py
@@ -2,10 +2,9 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
-import pickle
import sys
-from PySide6.QtCore import Qt, Signal, Slot
+from PySide6.QtCore import Qt, Slot
from PySide6.QtWidgets import (QApplication, QDialog, QGridLayout,
QHBoxLayout, QLabel, QLineEdit,
QMessageBox, QPushButton, QTextEdit,