Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
ec997b3d
Commit
ec997b3d
authored
Apr 08, 2022
by
Jean-Baptiste Mardelle
Browse files
enable highdpi
parent
8cd6a656
Pipeline
#161158
passed with stage
in 7 minutes and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main.cpp
View file @
ec997b3d
...
...
@@ -70,6 +70,7 @@ int main(int argc, char *argv[])
Logger
::
init
();
#endif
QCoreApplication
::
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
);
QCoreApplication
::
setAttribute
(
Qt
::
AA_EnableHighDpiScaling
);
//TODO: is it a good option ?
QCoreApplication
::
setAttribute
(
Qt
::
AA_ShareOpenGLContexts
,
true
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment