modernize: Prefer default member init over ctor init
[quassel.git] / src / common / quassel.cpp
index f83cbc7..f0f257c 100644 (file)
@@ -44,6 +44,7 @@
 #include "protocol.h"
 #include "syncableobject.h"
 #include "types.h"
+#include "version.h"
 
 #ifndef Q_OS_WIN
 #    include "posixsignalwatcher.h"
 #    include "windowssignalwatcher.h"
 #endif
 
-#include "../../version.h"
-
 Quassel::Quassel()
     : Singleton<Quassel>{this}
     , _logger{new Logger{this}}
 {
+#ifdef EMBED_DATA
+    Q_INIT_RESOURCE(i18n);
+#endif
 }