#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
Core::Core()
: Singleton<Core>{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);
{
_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;