mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:24:22 +02:00
make updateWindowTitle public, call it after Menu loads data into the Profile
This commit is contained in:
parent
248f59325c
commit
e44b0af9b6
2 changed files with 3 additions and 1 deletions
|
@ -109,6 +109,8 @@ public:
|
|||
void touchEndEvent(QTouchEvent* event);
|
||||
void touchUpdateEvent(QTouchEvent* event);
|
||||
|
||||
void updateWindowTitle();
|
||||
|
||||
void wheelEvent(QWheelEvent* event);
|
||||
|
||||
const glm::vec3 getMouseVoxelWorldCoordinates(const VoxelDetail _mouseVoxel);
|
||||
|
@ -206,7 +208,6 @@ private:
|
|||
|
||||
void initDisplay();
|
||||
void init();
|
||||
void updateWindowTitle();
|
||||
|
||||
void update(float deltaTime);
|
||||
|
||||
|
|
|
@ -532,6 +532,7 @@ void Menu::loadSettings(QSettings* settings) {
|
|||
Application::getInstance()->getAvatar()->loadData(settings);
|
||||
Application::getInstance()->getSwatch()->loadData(settings);
|
||||
Application::getInstance()->getProfile()->loadData(settings);
|
||||
Application::getInstance()->updateWindowTitle();
|
||||
NodeList::getInstance()->loadData(settings);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue