mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-04 01:08:26 +02:00
[ui] set AA_EnableHighDpiScaling earlier to fix qt warnings
This commit is contained in:
parent
69a1f157ac
commit
be0fb571f9
1 changed files with 2 additions and 1 deletions
|
@ -70,11 +70,12 @@ class MeshroomApp(QApplication):
|
|||
|
||||
args = parser.parse_args(args[1:])
|
||||
|
||||
QApplication.setAttribute(Qt.AA_EnableHighDpiScaling)
|
||||
|
||||
super(MeshroomApp, self).__init__(QtArgs)
|
||||
|
||||
self.setOrganizationName('AliceVision')
|
||||
self.setApplicationName('Meshroom')
|
||||
self.setAttribute(Qt.AA_EnableHighDpiScaling)
|
||||
self.setApplicationVersion(meshroom.__version_name__)
|
||||
|
||||
font = self.font()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue