Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6190 from ynput/enhancement/use-op-qt-app
Browse files Browse the repository at this point in the history
Photoshop: High scaling in UIs
  • Loading branch information
LiborBatek authored Feb 2, 2024
2 parents 7b3d54a + 86cebe8 commit e089af6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions openpype/hosts/photoshop/api/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
import contextlib
import traceback

from qtpy import QtWidgets

from openpype.lib import env_value_to_bool, Logger
from openpype.modules import ModulesManager
from openpype.pipeline import install_host
from openpype.tools.utils import host_tools
from openpype.tools.utils import get_openpype_qt_app
from openpype.tests.lib import is_in_tests

from .launch_logic import ProcessLauncher, stub
Expand All @@ -30,7 +29,7 @@ def main(*subprocess_args):

# coloring in StdOutBroker
os.environ["OPENPYPE_LOG_NO_COLORS"] = "False"
app = QtWidgets.QApplication([])
app = get_openpype_qt_app()
app.setQuitOnLastWindowClosed(False)

launcher = ProcessLauncher(subprocess_args)
Expand Down

0 comments on commit e089af6

Please sign in to comment.