MCPcopy Create free account
hub / github.com/amule-project/amule / DoSetUploadLimit

Method DoSetUploadLimit

src/MuleTrayIcon.cpp:163–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163void CMuleTrayIcon::DoSetUploadLimit(long kBytesPerSec)
164{
165 thePrefs::SetMaxUpload(kBytesPerSec < 0 ? UNLIMITED : (uint16)kBytesPerSec);
166#ifdef CLIENT_GUI
167 theApp->glob_prefs->SendToRemote();
168#endif
169}
170
171void CMuleTrayIcon::DoSetDownloadLimit(long kBytesPerSec)
172{

Callers 1

on_menu_item_activatedFunction · 0.80

Calls 1

SendToRemoteMethod · 0.80

Tested by

no test coverage detected