mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
set AA_EnableHighDpiScaling
This commit is contained in:
parent
8f315b5b22
commit
1ea9ca1d5e
1 changed files with 2 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ for path in [
|
|||
]:
|
||||
sys.path.append(path)
|
||||
|
||||
from Qt import QtWidgets
|
||||
from Qt import QtWidgets, QtCore
|
||||
|
||||
from openpype.tools.new_publisher.window import PublisherWindow
|
||||
|
||||
|
|
@ -59,6 +59,7 @@ def main():
|
|||
avalon.api.install(testhost)
|
||||
|
||||
app = QtWidgets.QApplication([])
|
||||
app.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling)
|
||||
window = PublisherWindow()
|
||||
window.show()
|
||||
app.exec_()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue