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
Games
Kiriki
Commits
46b084e4
Commit
46b084e4
authored
Dec 28, 2021
by
Laurent Montel
😁
Browse files
Migration code will be removed in qt6 + AA_UseHighDpiPixmaps is enabled by default in qt6
parent
23e3e3ef
Pipeline
#115166
passed with stage
in 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main.cpp
View file @
46b084e4
...
...
@@ -21,7 +21,9 @@
int
main
(
int
argc
,
char
*
argv
[])
{
// Fixes blurry icons with fractional scaling
QGuiApplication
::
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QCoreApplication
::
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
);
#endif
QApplication
app
(
argc
,
argv
);
KLocalizedString
::
setApplicationDomain
(
"kiriki"
);
...
...
Write
Preview
Markdown
is supported
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