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:
parent
bb410de3ab
commit
b967b3ac82
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user