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
Knights
Commits
9be5733c
Commit
9be5733c
authored
Dec 28, 2021
by
Laurent Montel
😁
Browse files
Enabled by default in qt6
parent
5ed4b127
Pipeline
#115079
passed with stage
in 1 minute and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main.cpp
View file @
9be5733c
...
...
@@ -38,8 +38,10 @@
static
QString
version
=
QStringLiteral
(
"2.6.0"
);
int
main
(
int
argc
,
char
**
argv
)
{
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QApplication
::
setAttribute
(
Qt
::
AA_EnableHighDpiScaling
);
QApplication
::
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
);
#endif
QApplication
app
(
argc
,
argv
);
KLocalizedString
::
setApplicationDomain
(
"knights"
);
...
...
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