aboutsummaryrefslogtreecommitdiffstats
path: root/examples/multimedia/screencapture/screenlistmodel.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/multimedia/screencapture/screenlistmodel.py')
-rw-r--r--examples/multimedia/screencapture/screenlistmodel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/multimedia/screencapture/screenlistmodel.py b/examples/multimedia/screencapture/screenlistmodel.py
index d3553aa27..72bb306e3 100644
--- a/examples/multimedia/screencapture/screenlistmodel.py
+++ b/examples/multimedia/screencapture/screenlistmodel.py
@@ -9,7 +9,7 @@ class ScreenListModel(QAbstractListModel):
def __init__(self, parent=None):
super().__init__(parent)
- app = qApp
+ app = qApp # noqa: F821
app.screenAdded.connect(self.screens_changed)
app.screenRemoved.connect(self.screens_changed)
app.primaryScreenChanged.connect(self.screens_changed)