X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcore.cpp;h=339cbd38b505331ff1322e5dadaaf23a28ae1619;hp=2634dd2852fb8e04ba240601f6579b7f095d042b;hb=d4b64322860b0dfcc9e1340a3b3a0b0df3e2eb81;hpb=ddfb1d2574c4bffd180361a80df9b1cd584bb040 diff --git a/src/core/core.cpp b/src/core/core.cpp index 2634dd28..339cbd38 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -36,9 +36,8 @@ #include "types.h" #include "util.h" -// Currently building with LDAP bindings is optional. #ifdef HAVE_LDAP -#include "ldapauthenticator.h" +# include "ldapauthenticator.h" #endif // migration related @@ -71,6 +70,8 @@ public: Core::Core() : Singleton{this} { + Q_INIT_RESOURCE(sql); + // Parent all QObject-derived attributes, so when the Core instance gets moved into another // thread, they get moved with it _server.setParent(this); @@ -91,10 +92,6 @@ void Core::init() { _startTime = QDateTime::currentDateTime().toUTC(); // for uptime :) - if (Quassel::runMode() == Quassel::RunMode::CoreOnly) { - Quassel::loadTranslation(QLocale::system()); - } - // check settings version // so far, we only have 1 CoreSettings s;