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
Utilities
KBackup
Commits
7e64166a
Commit
7e64166a
authored
Jan 11, 2022
by
Laurent Montel
Browse files
It's enabled by default in qt6
parent
c4a1d4c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main.cxx
View file @
7e64166a
...
...
@@ -88,7 +88,9 @@ int main(int argc, char **argv)
// kf5.kcoreaddons.kaboutdata: Could not initialize the equivalent properties of Q*Application: no instance (yet) existing.
app
.
reset
(
new
QApplication
(
argc
,
argv
));
QApplication
*
qapp
=
qobject_cast
<
QApplication
*>
(
app
.
data
());
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
qapp
->
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
,
true
);
#endif
qapp
->
setWindowIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"kbackup"
)));
KAboutData
::
setApplicationData
(
about
);
...
...
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