mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 13:58:51 +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<LimitedNodeList, NodeList>();
|
||||||
DependencyManager::registerInheritance<AvatarHashMap, AvatarManager>();
|
DependencyManager::registerInheritance<AvatarHashMap, AvatarManager>();
|
||||||
|
|
||||||
|
Setting::init();
|
||||||
|
|
||||||
// Set dependencies
|
// Set dependencies
|
||||||
auto addressManager = DependencyManager::set<AddressManager>();
|
auto addressManager = DependencyManager::set<AddressManager>();
|
||||||
|
@ -336,9 +338,6 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) :
|
||||||
_notifiedPacketVersionMismatchThisDomain(false),
|
_notifiedPacketVersionMismatchThisDomain(false),
|
||||||
_domainConnectionRefusals(QList<QString>())
|
_domainConnectionRefusals(QList<QString>())
|
||||||
{
|
{
|
||||||
|
|
||||||
Setting::init();
|
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
installNativeEventFilter(&MyNativeEventFilter::getInstance());
|
installNativeEventFilter(&MyNativeEventFilter::getInstance());
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue