Trying out new LLCachedControl implementation.
This commit is contained in:
@@ -626,7 +626,9 @@ bool LLAppViewer::init()
|
||||
// OS-specific login dialogs
|
||||
/////////////////////////////////////////////////
|
||||
|
||||
//test_cached_control();
|
||||
#if TEST_CACHED_CONTROL
|
||||
test_cached_control();
|
||||
#endif
|
||||
|
||||
// track number of times that app has run
|
||||
mNumSessions = gSavedSettings.getS32("NumSessions");
|
||||
@@ -1819,7 +1821,7 @@ bool LLAppViewer::initConfiguration()
|
||||
|
||||
//Load settings files list
|
||||
std::string settings_file_list = gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS, "settings_files.xml");
|
||||
LLControlGroup settings_control;
|
||||
LLControlGroup settings_control("groups");
|
||||
llinfos << "Loading settings file list" << settings_file_list << llendl;
|
||||
if (0 == settings_control.loadFromFile(settings_file_list))
|
||||
{
|
||||
@@ -1881,7 +1883,7 @@ bool LLAppViewer::initConfiguration()
|
||||
gSavedSettings.setBOOL("WatchdogEnabled", FALSE);
|
||||
#endif
|
||||
|
||||
gCrashSettings.getControl(CRASH_BEHAVIOR_SETTING)->getSignal()->connect(boost::bind(&handleCrashSubmitBehaviorChanged, _1));
|
||||
gCrashSettings.getControl(CRASH_BEHAVIOR_SETTING)->getSignal()->connect(boost::bind(&handleCrashSubmitBehaviorChanged, _2));
|
||||
|
||||
// These are warnings that appear on the first experience of that condition.
|
||||
// They are already set in the settings_default.xml file, but still need to be added to LLFirstUse
|
||||
|
||||
Reference in New Issue
Block a user