mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-04 11:58:46 +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) {
|
void Application::loadSettings(QSettings* set) {
|
||||||
if (!set) set = getSettings();
|
if (!set) set = getSettings();
|
||||||
|
|
||||||
scanMenuBar(&Application::loadAction, set);
|
|
||||||
getAvatar()->loadData(set);
|
|
||||||
_headCameraPitchYawScale = set->value("headCameraPitchYawScale").toDouble();
|
_headCameraPitchYawScale = set->value("headCameraPitchYawScale").toDouble();
|
||||||
|
scanMenuBar(&Application::loadAction, set);
|
||||||
|
getAvatar()->loadData(set);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Application::saveSettings(QSettings* set) {
|
void Application::saveSettings(QSettings* set) {
|
||||||
if (!set) set = getSettings();
|
if (!set) set = getSettings();
|
||||||
|
|
||||||
scanMenuBar(&Application::saveAction, set);
|
|
||||||
getAvatar()->saveData(set);
|
|
||||||
set->setValue("headCameraPitchYawScale", _headCameraPitchYawScale);
|
set->setValue("headCameraPitchYawScale", _headCameraPitchYawScale);
|
||||||
|
scanMenuBar(&Application::saveAction, set);
|
||||||
|
getAvatar()->saveData(set);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Application::importSettings() {
|
void Application::importSettings() {
|
||||||
|
|
Loading…
Reference in a new issue