1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-18 16:32:33 +02:00

Add test to notify current status of extraction process

This commit is contained in:
kelteseth 2017-05-15 12:10:12 +02:00
parent bb410de3ab
commit b967b3ac82

View File

@ -9,6 +9,7 @@ PackageFileHandler::PackageFileHandler(QObject* parent)
int PackageFileHandler::loadPackageFromLocalZip(QList<QUrl> url, QString extractDir)
{
setCurrentLoaderStatus(LoaderStatus::Extracting);
for(int i = 0; i < url.length(); i++) {
if(!QString(url.at(i).toString()).endsWith(".zip")){
return LoaderStatus::SomeErrors;