Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -1674,7 +1674,7 @@ void Application::init() { · 1673 unmodified lines | ||
| 1674 | 1674 | connect(_rearMirrorTools, SIGNAL(restoreView()), SLOT(restoreMirrorView())); |
| 1675 | 1675 | connect(_rearMirrorTools, SIGNAL(shrinkView()), SLOT(shrinkMirrorView())); |
| 1676 | 1676 | connect(_rearMirrorTools, SIGNAL(resetView()), SLOT(resetSensors())); |
| 1677 | − connect(_myAvatar, SIGNAL(transformChanged()), this, SLOT(bumpSettings())); | |
| 1677 | + connect(_myAvatar, &MyAvatar::transformChanged, this, &Application::bumpSettings); | |
| 1678 | 1678 | } |
| 1679 | 1679 | |
| 1680 | 1680 | void Application::closeMirrorView() { |
| @@ -3280,6 +3280,7 @@ void Application::stopAllScripts() { · 1599 unmodified lines | ||
| 3280 | 3280 | } |
| 3281 | 3281 | _scriptEnginesHash.clear(); |
| 3282 | 3282 | _runningScriptsWidget->setRunningScripts(getRunningScripts()); |
| 3283 | + bumpSettings(); | |
| 3283 | 3284 | } |
| 3284 | 3285 | |
| 3285 | 3286 | void Application::stopScript(const QString &scriptName) |
| @@ -3288,6 +3289,7 @@ void Application::stopScript(const QString &scriptName) · 2 unmodified lines | ||
| 3288 | 3289 | qDebug() << "stopping script..." << scriptName; |
| 3289 | 3290 | _scriptEnginesHash.remove(scriptName); |
| 3290 | 3291 | _runningScriptsWidget->setRunningScripts(getRunningScripts()); |
| 3292 | + bumpSettings(); | |
| 3291 | 3293 | } |
| 3292 | 3294 | |
| 3293 | 3295 | void Application::reloadAllScripts() { |
| @@ -3403,6 +3405,7 @@ void Application::loadScript(const QString& scriptName) { · 109 unmodified lines | ||
| 3403 | 3405 | |
| 3404 | 3406 | // restore the main window's active state |
| 3405 | 3407 | _window->activateWindow(); |
| 3408 | + bumpSettings(); | |
| 3406 | 3409 | } |
| 3407 | 3410 | |
| 3408 | 3411 | void Application::loadDialog() { |