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
Plasma
System Settings
Commits
66a830a6
Commit
66a830a6
authored
Apr 25, 2022
by
Laurent Montel
Browse files
Qt::AA_UseHighDpiPixmaps is enabled by default in qt6
parent
4603adaf
Pipeline
#168184
passed with stage
in 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/main.cpp
View file @
66a830a6
...
...
@@ -42,8 +42,9 @@ int main(int argc, char *argv[])
KWorkSpace
::
detectPlatform
(
argc
,
argv
);
QApplication
application
(
argc
,
argv
);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
application
.
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
,
true
);
#endif
// The ki18n application domain must be set before we make any i18n() calls.
KLocalizedString
::
setApplicationDomain
(
binaryName
.
toUtf8
().
constData
());
...
...
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