mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 22:44:15 +02:00
OK, one more try.
This commit is contained in:
parent
ce68c1a6a4
commit
1b698b24e2
1 changed files with 4 additions and 4 deletions
|
@ -2544,17 +2544,17 @@ void Application::setAutosave(bool wantsAutosave) {
|
|||
void Application::loadSettings(QSettings* set) {
|
||||
if (!set) set = getSettings();
|
||||
|
||||
scanMenuBar(&Application::loadAction, set);
|
||||
getAvatar()->loadData(set);
|
||||
_headCameraPitchYawScale = set->value("headCameraPitchYawScale").toDouble();
|
||||
scanMenuBar(&Application::loadAction, set);
|
||||
getAvatar()->loadData(set);
|
||||
}
|
||||
|
||||
void Application::saveSettings(QSettings* set) {
|
||||
if (!set) set = getSettings();
|
||||
|
||||
scanMenuBar(&Application::saveAction, set);
|
||||
getAvatar()->saveData(set);
|
||||
set->setValue("headCameraPitchYawScale", _headCameraPitchYawScale);
|
||||
scanMenuBar(&Application::saveAction, set);
|
||||
getAvatar()->saveData(set);
|
||||
}
|
||||
|
||||
void Application::importSettings() {
|
||||
|
|
Loading…
Reference in a new issue