changed return value of downloadFolder to void
parent
440fbefa43
commit
89302c85d2
|
@ -204,7 +204,7 @@ void Nextcloud::downloadItem(vector<Item> &tempItems, int itemID)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Nextcloud::downloadFolder(vector<Item> &tempItems, int itemID)
|
void Nextcloud::downloadFolder(vector<Item> &tempItems, int itemID)
|
||||||
{
|
{
|
||||||
BanSleep(2000);
|
BanSleep(2000);
|
||||||
if (tempItems.at(itemID).getType() == Itemtype::IFOLDER)
|
if (tempItems.at(itemID).getType() == Itemtype::IFOLDER)
|
||||||
|
@ -226,7 +226,7 @@ bool Nextcloud::downloadFolder(vector<Item> &tempItems, int itemID)
|
||||||
downloadItem(tempItems, itemID);
|
downloadItem(tempItems, itemID);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Nextcloud::download(int itemID)
|
void Nextcloud::download(int itemID)
|
||||||
|
|
|
@ -74,7 +74,7 @@ public:
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
bool downloadFolder(vector<Item> &tempItems, int itemId);
|
void downloadFolder(vector<Item> &tempItems, int itemId);
|
||||||
|
|
||||||
void download(int itemId);
|
void download(int itemId);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue