changed return value of downloadFolder to void

pull/23/head
JuanJakobo 2021-02-22 16:53:15 +01:00
parent 440fbefa43
commit 89302c85d2
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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);