Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-08-03 08:57:30 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-08-03 13:06:59 +0200
commite501cad66146a49c7a259579c7bb94bc93a67a08 (patch)
treeba62e7988243bc88f273805d07edf2c6c1873b5f /sources/pyside-tools/pyside_tool.py
parent28a02f64b1cbe044809ce4a11df8a90f766f5117 (diff)
pyside6-designer: Remove unused variable and comment
Amends b20b722c0b3d38dddb65c6889cabd30c4cfa72aa. Pick-to: 6.5 Task-number: PYSIDE-2247 Change-Id: Icb69228157605e0a9855d5c625ebc3c787eaaa80 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside-tools/pyside_tool.py')
-rw-r--r--sources/pyside-tools/pyside_tool.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/sources/pyside-tools/pyside_tool.py b/sources/pyside-tools/pyside_tool.py
index 615132de6..5f71dd126 100644
--- a/sources/pyside-tools/pyside_tool.py
+++ b/sources/pyside-tools/pyside_tool.py
@@ -131,10 +131,6 @@ def _extend_path_var(var, value, prepend=False):
def designer():
- # Add the examples to PYSIDE_DESIGNER_PLUGINS, as determined by starting from
- # PySide6/scripts.
- pyside_dir = Path(__file__).resolve().parents[1]
-
init_virtual_env()
# https://www.python.org/dev/peps/pep-0384/#linkage :