mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 18:09:59 +03:00
Runnable 1.6 instances!
This commit is contained in:
parent
005a010ee6
commit
183a735145
23 changed files with 502 additions and 214 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#include "include/dlqueue.h"
|
||||
#include <include/pathutils.h>
|
||||
|
||||
DownloadJob::DownloadJob (QUrl url,
|
||||
QString target_path,
|
||||
|
|
@ -48,13 +49,6 @@ JobPtr DownloadJob::create (QSharedPointer<QNetworkAccessManager> net_mgr,
|
|||
return JobPtr ( new DownloadJob ( net_mgr, url, target_path, expected_md5 ) );
|
||||
}
|
||||
|
||||
bool DownloadJob::ensurePathExists(QString filenamepath)
|
||||
{
|
||||
QFileInfo a ( filenamepath );
|
||||
QDir dir;
|
||||
return (dir.mkpath ( a.path() ));
|
||||
}
|
||||
|
||||
void DownloadJob::start()
|
||||
{
|
||||
if ( m_save_to_file )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue