mirror of
https://github.com/overte-org/overte.git
synced 2025-07-22 20:23:26 +02:00
Previous script location uses new settings
This commit is contained in:
parent
6bcf49c4e6
commit
9b442cbe7a
1 changed files with 1 additions and 4 deletions
|
@ -3694,7 +3694,6 @@ void Application::updateMyAvatarTransform() {
|
|||
}
|
||||
|
||||
void Application::domainSettingsReceived(const QJsonObject& domainSettingsObject) {
|
||||
|
||||
// from the domain-handler, figure out the satoshi cost per voxel and per meter cubed
|
||||
const QString VOXEL_SETTINGS_KEY = "voxels";
|
||||
const QString PER_VOXEL_COST_KEY = "per-voxel-credits";
|
||||
|
@ -3737,9 +3736,7 @@ QString Application::getPreviousScriptLocation() {
|
|||
|
||||
void Application::setPreviousScriptLocation(const QString& previousScriptLocation) {
|
||||
_previousScriptLocation = previousScriptLocation;
|
||||
QMutexLocker locker(&_settingsMutex);
|
||||
_settings->setValue("LastScriptLocation", _previousScriptLocation);
|
||||
bumpSettings();
|
||||
Settings().setValue("LastScriptLocation", _previousScriptLocation);
|
||||
}
|
||||
|
||||
void Application::loadDialog() {
|
||||
|
|
Loading…
Reference in a new issue