mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +02:00
call Setting::init from Interface setupEssentials
This commit is contained in:
parent
7b903d29e7
commit
68af209417
1 changed files with 2 additions and 3 deletions
|
@ -249,6 +249,8 @@ bool setupEssentials(int& argc, char** argv) {
|
|||
|
||||
DependencyManager::registerInheritance<LimitedNodeList, NodeList>();
|
||||
DependencyManager::registerInheritance<AvatarHashMap, AvatarManager>();
|
||||
|
||||
Setting::init();
|
||||
|
||||
// Set dependencies
|
||||
auto addressManager = DependencyManager::set<AddressManager>();
|
||||
|
@ -336,9 +338,6 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) :
|
|||
_notifiedPacketVersionMismatchThisDomain(false),
|
||||
_domainConnectionRefusals(QList<QString>())
|
||||
{
|
||||
|
||||
Setting::init();
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
installNativeEventFilter(&MyNativeEventFilter::getInstance());
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue