SL-14136 Mistake in llfloaterpreference.cpp

master
Andrey Kleshchev 2020-10-16 19:04:13 +03:00
parent a2c8c8238c
commit 1a4b66e89c
1 changed files with 1 additions and 1 deletions

View File

@ -2486,7 +2486,7 @@ BOOL LLPanelPreference::postBuild()
}
//////////////////////PanelSetup ///////////////////
if (hasChild("max_bandwidth"), TRUE)
if (hasChild("max_bandwidth", TRUE))
{
mBandWidthUpdater = new LLPanelPreference::Updater(boost::bind(&handleBandwidthChanged, _1), BANDWIDTH_UPDATER_TIMEOUT);
gSavedSettings.getControl("ThrottleBandwidthKBPS")->getSignal()->connect(boost::bind(&LLPanelPreference::Updater::update, mBandWidthUpdater, _2));