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
Education
Kalzium
Commits
e24200a6
Commit
e24200a6
authored
Dec 22, 2020
by
Johnny Jazeix
Browse files
enable hidpi
BUG: 415735
BUG: 415738
parent
c5f58e78
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main.cpp
View file @
e24200a6
...
@@ -41,6 +41,8 @@ int main(int argc, char **argv)
...
@@ -41,6 +41,8 @@ int main(int argc, char **argv)
caml_startup
(
argv
);
caml_startup
(
argv
);
#endif
#endif
QCoreApplication
::
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
,
true
);
QCoreApplication
::
setAttribute
(
Qt
::
AA_EnableHighDpiScaling
);
QApplication
app
(
argc
,
argv
);
QApplication
app
(
argc
,
argv
);
KLocalizedString
::
setApplicationDomain
(
"kalzium"
);
KLocalizedString
::
setApplicationDomain
(
"kalzium"
);
...
...
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