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
Plasma
Plasma Browser Integration
Commits
f2086f25
Commit
f2086f25
authored
Apr 25, 2022
by
Laurent Montel
Browse files
It's enabled by default in qt6
parent
b8f751fd
Pipeline
#168182
passed with stage
in 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
host/main.cpp
View file @
f2086f25
...
...
@@ -76,9 +76,9 @@ int main(int argc, char *argv[])
// otherwise when logging out, session manager will ask the host to quit
// (it's a "regular X app" after all) and then the browser will complain
qunsetenv
(
"SESSION_MANAGER"
);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QCoreApplication
::
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
);
#endif
QApplication
a
(
argc
,
argv
);
// otherwise will close when download job finishes
a
.
setQuitOnLastWindowClosed
(
false
);
...
...
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