Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace pyside2 import with qtpy import #12

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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