mirror of
https://github.com/zealdocs/zeal.git
synced 2024-08-17 02:00:25 +03:00
parent
4b252cddb2
commit
2f02e1fe2e
@ -359,7 +359,7 @@ void DocsetsDialog::downloadCompleted()
|
||||
|
||||
QTemporaryFile *tmpFile = m_tmpFiles[docsetName];
|
||||
if (!tmpFile) {
|
||||
tmpFile = new QTemporaryFile(this);
|
||||
tmpFile = new QTemporaryFile(QStringLiteral("%1/%2.XXXXXX.tmp").arg(Core::Application::cacheLocation(), docsetName), this);
|
||||
tmpFile->open();
|
||||
m_tmpFiles.insert(docsetName, tmpFile);
|
||||
}
|
||||
@ -402,7 +402,7 @@ void DocsetsDialog::downloadProgress(qint64 received, qint64 total)
|
||||
|
||||
QTemporaryFile *tmpFile = m_tmpFiles[docsetName];
|
||||
if (!tmpFile) {
|
||||
tmpFile = new QTemporaryFile(this);
|
||||
tmpFile = new QTemporaryFile(QStringLiteral("%1/%2.XXXXXX.tmp").arg(Core::Application::cacheLocation(), docsetName), this);
|
||||
tmpFile->open();
|
||||
m_tmpFiles.insert(docsetName, tmpFile);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user