aboutsummaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/btscanner
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <cristian.maureira-fredes@qt.io>2023-04-05 17:18:08 +0200
committerCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2023-04-05 20:03:22 +0000
commite3c22d12f3f91098042f3f09a75093addbd5bd80 (patch)
tree0b246ad62217d05cc123c370f3254e58d8946789 /examples/bluetooth/btscanner
parent23cc8b6f01205567904300c494854f0bbaad11e0 (diff)
examples: remove unused imports
Change-Id: I88a7bb2fe91abcfdef6e6014b088d08c4e613893 Pick-to: 6.5 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/bluetooth/btscanner')
-rw-r--r--examples/bluetooth/btscanner/device.py2
-rw-r--r--examples/bluetooth/btscanner/main.py3
-rw-r--r--examples/bluetooth/btscanner/service.py2
3 files changed, 3 insertions, 4 deletions
diff --git a/examples/bluetooth/btscanner/device.py b/examples/bluetooth/btscanner/device.py
index 02fc53f0b..e51160b84 100644
--- a/examples/bluetooth/btscanner/device.py
+++ b/examples/bluetooth/btscanner/device.py
@@ -3,7 +3,7 @@
from PySide6.QtCore import QPoint, Qt, Slot
from PySide6.QtGui import QColor
-from PySide6.QtWidgets import QDialog, QListWidgetItem, QListWidget, QMenu
+from PySide6.QtWidgets import QDialog, QListWidgetItem, QMenu
from PySide6.QtBluetooth import (QBluetoothAddress, QBluetoothDeviceDiscoveryAgent,
QBluetoothDeviceInfo, QBluetoothLocalDevice)
diff --git a/examples/bluetooth/btscanner/main.py b/examples/bluetooth/btscanner/main.py
index bf8f596a3..a54a862a2 100644
--- a/examples/bluetooth/btscanner/main.py
+++ b/examples/bluetooth/btscanner/main.py
@@ -5,8 +5,7 @@
import sys
-from PySide6.QtCore import Qt
-from PySide6.QtWidgets import QApplication, QWidget
+from PySide6.QtWidgets import QApplication
from device import DeviceDiscoveryDialog
diff --git a/examples/bluetooth/btscanner/service.py b/examples/bluetooth/btscanner/service.py
index 73e174b82..31df8a9ea 100644
--- a/examples/bluetooth/btscanner/service.py
+++ b/examples/bluetooth/btscanner/service.py
@@ -1,7 +1,7 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
-from PySide6.QtCore import Qt, Slot
+from PySide6.QtCore import Slot
from PySide6.QtWidgets import QDialog
from PySide6.QtBluetooth import (QBluetoothAddress, QBluetoothServiceInfo,
QBluetoothServiceDiscoveryAgent, QBluetoothLocalDevice)