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
KSudoku
Commits
b468744a
Commit
b468744a
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
c399b0ad
Pipeline
#115167
passed with stage
in 1 minute and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main.cpp
View file @
b468744a
...
...
@@ -41,7 +41,9 @@ int main(int argc, char **argv)
{
qsrand
(
std
::
time
(
nullptr
));
// 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
(
"ksudoku"
);
...
...
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