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
KBruch
Commits
3b9a6977
Commit
3b9a6977
authored
Dec 23, 2021
by
Laurent Montel
Browse files
IT's enabled by default in qt6
parent
ad0fe563
Pipeline
#113452
passed with stage
in 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/KBruch.cpp
View file @
3b9a6977
...
...
@@ -31,7 +31,9 @@ int main(int argc, char * argv[])
{
// init random generator
qsrand
(
time
(
nullptr
));
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
QCoreApplication
::
setAttribute
(
Qt
::
AA_EnableHighDpiScaling
);
#endif
QApplication
app
(
argc
,
argv
);
app
.
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
,
true
);
...
...
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