Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
Cantor
Commits
f5f8319b
Commit
f5f8319b
authored
Jul 01, 2022
by
Nicolas Fella
Committed by
Alexander Semke
Jul 20, 2022
Browse files
Enable highdpi pixmaps
Fixes icon rendering on highdpi screens
parent
7fb5f111
Pipeline
#207001
passed with stage
in 12 minutes and 23 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/main.cpp
View file @
f5f8319b
...
...
@@ -28,6 +28,7 @@ int main(int argc, char **argv)
QWebEngineUrlScheme
::
registerScheme
(
qthelp
);
QApplication
::
setAttribute
(
Qt
::
AA_EnableHighDpiScaling
);
QApplication
::
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
);
QApplication
app
(
argc
,
argv
);
// Add our custom plugins path, where we install our plugins, if it isn't default path
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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