Skip to content

Commit

Permalink
Merge pull request #12 from ynput/bugfix/replacePySide2importwithqtpy
Browse files Browse the repository at this point in the history
Replace pyside2 import with qtpy import
  • Loading branch information
moonyuet authored Sep 19, 2024
2 parents 0e50406 + c54f5de commit a70e288
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/ayon_substancepainter/api/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def get_context_data(self):
return metadata.get(OPENPYPE_METADATA_CONTEXT_KEY) or {}

def _install_menu(self):
from PySide2 import QtWidgets
from qtpy import QtWidgets
from ayon_core.tools.utils import host_tools

parent = substance_painter.ui.get_main_window()
Expand Down
2 changes: 1 addition & 1 deletion client/ayon_substancepainter/deploy/plugins/ayon_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def cleanup_ayon_qt_widgets():
"""
# TODO: Create a more reliable method to close down all AYON Qt widgets
from PySide2 import QtWidgets
from qtpy import QtWidgets
import substance_painter.ui

# Kill AYON Qt widgets
Expand Down

0 comments on commit a70e288

Please sign in to comment.