Showing the changes to interface/src/Application.cpp (1 of 2 files). Show all
Unified · Split
| @@ -3475,6 +3475,7 @@ ScriptEngine* Application::loadScript(const QString& scriptName, bool loadScript · 3474 unmodified lines | ||
| 3475 | 3475 | scriptEngine->registerGlobalObject("AudioDevice", AudioDeviceScriptingInterface::getInstance()); |
| 3476 | 3476 | scriptEngine->registerGlobalObject("AnimationCache", &_animationCache); |
| 3477 | 3477 | scriptEngine->registerGlobalObject("AudioReflector", &_audioReflector); |
| 3478 | + scriptEngine->registerGlobalObject("AccountManager", &AccountManager::getInstance()); | |
| 3478 | 3479 | |
| 3479 | 3480 | QThread* workerThread = new QThread(this); |
| 3480 | 3481 | |