mirror of
https://github.com/overte-org/overte.git
synced 2025-04-24 05:53:29 +02:00
We need to set these before initMenu, as that's where we create the QSettings.
This commit is contained in:
parent
953aec35e6
commit
9da10df9f2
1 changed files with 5 additions and 5 deletions
|
@ -215,6 +215,11 @@ Application::Application(int& argc, char** argv, timeval &startup_time) :
|
|||
|
||||
_window->setCentralWidget(_glWidget);
|
||||
|
||||
// these are used, for example, to identify the application's preferences
|
||||
setApplicationName("Interface");
|
||||
setOrganizationDomain("highfidelity.io");
|
||||
setOrganizationName("High Fidelity");
|
||||
|
||||
initMenu();
|
||||
|
||||
QRect available = desktop()->availableGeometry();
|
||||
|
@ -227,11 +232,6 @@ Application::Application(int& argc, char** argv, timeval &startup_time) :
|
|||
_glWidget->setMouseTracking(true);
|
||||
|
||||
// initialization continues in initializeGL when OpenGL context is ready
|
||||
|
||||
// these are used, for example, to identify the application's preferences
|
||||
setApplicationName("Interface");
|
||||
setOrganizationDomain("highfidelity.io");
|
||||
setOrganizationName("High Fidelity");
|
||||
}
|
||||
|
||||
void Application::initializeGL() {
|
||||
|
|
Loading…
Reference in a new issue