diff options
| author | Tannin <devnull@localhost> | 2014-11-11 21:42:18 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-11-11 21:42:18 +0100 |
| commit | 9494938534e3dc251cd1d462bb5b40b8d98103ef (patch) | |
| tree | 6fe937eab4886dc17c7b9e7d44f7d778c27f72a8 /src/downloadmanager.cpp | |
| parent | 7c1273b246117740dd17fb70ad712346421224d7 (diff) | |
| parent | 9ab7bada1c81eb82d97df23da64a56a0eba0bf42 (diff) | |
Merge
Diffstat (limited to 'src/downloadmanager.cpp')
| -rw-r--r-- | src/downloadmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/downloadmanager.cpp b/src/downloadmanager.cpp index 28605409..b803d170 100644 --- a/src/downloadmanager.cpp +++ b/src/downloadmanager.cpp @@ -608,7 +608,7 @@ void DownloadManager::pauseDownload(int index) DownloadInfo *info = m_ActiveDownloads.at(index);
if (info->m_State == STATE_DOWNLOADING) {
- if (info->m_Reply->isRunning()) {
+ if ((info->m_Reply != NULL) && (info->m_Reply->isRunning())) {
setState(info, STATE_PAUSING);
} else {
setState(info, STATE_PAUSED);
|
