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
Graphics
Gwenview
Commits
081d0d86
Commit
081d0d86
authored
Feb 10, 2022
by
Laurent Montel
Browse files
It's enabled in qt6 by default
parent
27728db1
Pipeline
#135615
passed with stage
in 2 minutes and 25 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/main.cpp
View file @
081d0d86
...
...
@@ -154,8 +154,10 @@ int main(int argc, char *argv[])
/**
* enable high dpi support
*/
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QCoreApplication
::
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
,
true
);
QCoreApplication
::
setAttribute
(
Qt
::
AA_EnableHighDpiScaling
,
true
);
#endif
QCoreApplication
::
setAttribute
(
Qt
::
AA_CompressHighFrequencyEvents
,
true
);
QApplication
app
(
argc
,
argv
);
...
...
importer/main.cpp
View file @
081d0d86
...
...
@@ -38,8 +38,9 @@ int main(int argc, char *argv[])
{
KLocalizedString
::
setApplicationDomain
(
"gwenview"
);
QApplication
app
(
argc
,
argv
);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
app
.
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
,
true
);
#endif
QScopedPointer
<
KAboutData
>
aboutData
(
Gwenview
::
createAboutData
(
QStringLiteral
(
"gwenview_importer"
),
/* component name */
i18n
(
"Gwenview Importer"
)
/* programName */
));
...
...
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