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
bfaead66
Commit
bfaead66
authored
Jul 13, 2020
by
Stefano Crocco
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update webenginepartdownloadmanager.cpp
parent
773a6c13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
webenginepart/src/webenginepartdownloadmanager.cpp
webenginepart/src/webenginepartdownloadmanager.cpp
+1
-1
No files found.
webenginepart/src/webenginepartdownloadmanager.cpp
View file @
bfaead66
...
...
@@ -99,7 +99,7 @@ void WebEnginePartDownloadManager::performDownload(QWebEngineDownloadItem* it)
void
WebEnginePartDownloadManager
::
downloadBlob
(
QWebEngineDownloadItem
*
it
)
{
QWidget
*
w
=
it
->
page
()
?
it
->
page
()
->
view
()
:
nullptr
;
QWidget
*
w
=
it
->
page
()
?
it
->
page
()
->
view
()
:
nullptr
;
const
QString
downloadDir
=
QStandardPaths
::
writableLocation
(
QStandardPaths
::
DownloadLocation
);
QMimeDatabase
db
;
QMimeType
type
=
db
.
mimeTypeForName
(
it
->
mimeType
());
...
...
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