Skip to content

Commit

Permalink
pseudo unlimited number of downloads increased
Browse files Browse the repository at this point in the history
  • Loading branch information
aliakseis committed Jan 20, 2019
1 parent 5b49ace commit b9369f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/global_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,11 @@ QString GetVideoFolder()

int GetMaximumNumberLoadsActual()
{
enum { PSEUDO_UNLIMITED_NUMBER_OF_DOWNLOADS = 100 };
QSettings settings;
return settings.value(UnlimitedLabel, UnlimitedLabel_Default).toBool()
? 10 : settings.value(MaximumNumberLoads, MaximumNumberLoads_Default).toInt();
? PSEUDO_UNLIMITED_NUMBER_OF_DOWNLOADS
: settings.value(MaximumNumberLoads, MaximumNumberLoads_Default).toInt();
}

int GetTrafficLimitActual()
Expand Down

0 comments on commit b9369f3

Please sign in to comment.