make updateWindowTitle public, call it after Menu loads data into the Profile

This commit is contained in:
Don Park 2013-10-25 11:36:50 -07:00
parent 248f59325c
commit e44b0af9b6
2 changed files with 3 additions and 1 deletions

View file

@ -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);

View file

@ -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);
}