History

Merge branch 'stable' of https://github.com/highfidelity/hifi into new-master

Clement committed 8 years ago

Commit 920263e2 parents 6f011b7 8816aa49 files · +34 −62Browse files

Showing the changes to interface/src/Application.cpp (1 of 9 files). Show all

Unified · Split

interface/src/Application.cpp+1−9
@@ -1439,17 +1439,9 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 1438 unmodified lines
14391439 // add firstRun flag from settings to launch event
14401440 Setting::Handle<bool> firstRun { Settings::firstRun, true };
14411441
1442− // once the settings have been loaded, check if we need to flip the default for UserActivityLogger
1443− auto& userActivityLogger = UserActivityLogger::getInstance();
1444− if (!userActivityLogger.isDisabledSettingSet()) {
1445− // the user activity logger is opt-out for Interface
1446− // but it's defaulted to disabled for other targets
1447− // so we need to enable it here if it has never been disabled by the user
1448− userActivityLogger.disable(false);
1449− }
1450−
14511442 QString machineFingerPrint = uuidStringWithoutCurlyBraces(FingerprintUtils::getMachineFingerprint());
14521443
1444+ auto& userActivityLogger = UserActivityLogger::getInstance();
14531445 if (userActivityLogger.isEnabled()) {
14541446 // sessionRunTime will be reset soon by loadSettings. Grab it now to get previous session value.
14551447 // The value will be 0 if the user blew away settings this session, which is both a feature and a bug.