mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
enabled pixmap scaling in tray
This commit is contained in:
parent
a25c6e5cd7
commit
5627c8ec62
1 changed files with 8 additions and 0 deletions
|
|
@ -778,6 +778,14 @@ def main():
|
|||
if not app:
|
||||
app = QtWidgets.QApplication([])
|
||||
|
||||
for attr_name in (
|
||||
"AA_EnableHighDpiScaling",
|
||||
"AA_UseHighDpiPixmaps"
|
||||
):
|
||||
attr = getattr(QtCore.Qt, attr_name, None)
|
||||
if attr is not None:
|
||||
app.setAttribute(attr)
|
||||
|
||||
starter = PypeTrayStarter(app)
|
||||
|
||||
# TODO remove when pype.exe will have an icon
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue