aboutsummaryrefslogtreecommitdiffstats
path: root/examples/widgets
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-03-16 14:05:13 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-03-16 14:09:03 +0100
commitcf059117c3926081bee79d9223017147613649a4 (patch)
tree8da5210fc552a3d611f4bc0fd4fe3d981071202b /examples/widgets
parent3895f0b107ff27aea4eefe390271b176e3af73b7 (diff)
Examples: Remove qApp import
Amends 5d34d60418b15d4d6837d0a1333f2b57631309eb, d579912b31d7cfa7b0b216916fbbf3eb632a9d9d. Task-number: PYSIDE-571 Change-Id: I214d7bf1770667eaa9abaea0f96b5e507b4c32f7 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'examples/widgets')
-rw-r--r--examples/widgets/richtext/syntaxhighlighter/syntaxhighlighter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/richtext/syntaxhighlighter/syntaxhighlighter.py b/examples/widgets/richtext/syntaxhighlighter/syntaxhighlighter.py
index c9922f46e..55805e469 100644
--- a/examples/widgets/richtext/syntaxhighlighter/syntaxhighlighter.py
+++ b/examples/widgets/richtext/syntaxhighlighter/syntaxhighlighter.py
@@ -47,7 +47,7 @@ import re
from PySide2.QtCore import (QFile, Qt, QTextStream)
from PySide2.QtGui import (QColor, QFont, QKeySequence, QSyntaxHighlighter,
QTextCharFormat)
-from PySide2.QtWidgets import (qApp, QApplication, QFileDialog, QMainWindow,
+from PySide2.QtWidgets import (QApplication, QFileDialog, QMainWindow,
QPlainTextEdit)
import syntaxhighlighter_rc