diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-01-24 18:19:07 +0000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2018-01-24 18:19:07 +0000 |
commit | 239cd06b9092918a04b3a2407a5274e8394f2c83 (patch) | |
tree | 2013e0710e6b96f15091cda2f20997e769621d07 /src/core/download_manager_delegate_qt.h | |
parent | a96d1fdd51a5544bab52e5dbf176d31865f0542a (diff) | |
parent | 9c5f59d82120a0f25ab6ab9763a4166175c4508d (diff) |
Merge "Merge remote-tracking branch 'origin/5.9' into 5.10" into refs/staging/5.10
Diffstat (limited to 'src/core/download_manager_delegate_qt.h')
-rw-r--r-- | src/core/download_manager_delegate_qt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/download_manager_delegate_qt.h b/src/core/download_manager_delegate_qt.h index aec83cb41..df43211ed 100644 --- a/src/core/download_manager_delegate_qt.h +++ b/src/core/download_manager_delegate_qt.h @@ -86,7 +86,7 @@ public: void pauseDownload(quint32 downloadId); void resumeDownload(quint32 downloadId); - void setDownloadType(int downloadType) { m_downloadType = downloadType; } + void markNextDownloadAsUserRequested() { m_nextDownloadIsUserRequested = true; } // Inherited from content::DownloadItem::Observer void OnDownloadUpdated(content::DownloadItem *download) override; @@ -99,7 +99,7 @@ private: uint64_t m_currentId; base::WeakPtrFactory<DownloadManagerDelegateQt> m_weakPtrFactory; - int m_downloadType; + bool m_nextDownloadIsUserRequested; friend class DownloadManagerDelegateInstance; DISALLOW_COPY_AND_ASSIGN(DownloadManagerDelegateQt); |