Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Network
Konqueror
Commits
995144c6
Commit
995144c6
authored
Jul 20, 2020
by
Stefano Crocco
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set the DeleteTemporayFiles flag
parent
e6ee46cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/konqmainwindow.cpp
src/konqmainwindow.cpp
+3
-0
No files found.
src/konqmainwindow.cpp
View file @
995144c6
...
...
@@ -697,6 +697,9 @@ void KonqMainWindow::openUrl(KonqView *_view, const QUrl &_url,
KIO
::
ApplicationLauncherJob
*
job
=
new
KIO
::
ApplicationLauncherJob
(
offer
);
job
->
setUrls
({
url
});
job
->
setUiDelegate
(
new
KIO
::
JobUiDelegate
(
KJobUiDelegate
::
AutoHandlingEnabled
,
this
));
if
(
req
.
tempFile
)
{
job
->
setRunFlags
(
KIO
::
ApplicationLauncherJob
::
DeleteTemporaryFiles
);
}
job
->
start
();
}
}
...
...
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