348
349
QString tempDir = QDesktopServices::storageLocation(QDesktopServices::TempLocation);
358
353
Video *videoCopy = video->clone();
363
downloadItem = new DownloadItem(videoCopy, streamUrl, tempFile, this);
358
downloadItem = new DownloadItem(videoCopy, streamUrl, tempFile->fileName(), this);
364
359
connect(downloadItem, SIGNAL(statusChanged()), SLOT(downloadStatusChanged()));
365
360
// connect(downloadItem, SIGNAL(progress(int)), SLOT(downloadProgress(int)));
366
361
connect(downloadItem, SIGNAL(bufferProgress(int)), loadingWidget, SLOT(bufferStatus(int)));