X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fquassel.cpp;h=f0f257c1b1c240808d26ac491da1eab4f00b871d;hp=f83cbc7f9fbf0bebebfea841fb17bc99b9109009;hb=158443f71d48215eea8b47b836b61afd77654b78;hpb=cc9f5099567634673f181aa49ae0b5d19bf93f7c diff --git a/src/common/quassel.cpp b/src/common/quassel.cpp index f83cbc7f..f0f257c1 100644 --- a/src/common/quassel.cpp +++ b/src/common/quassel.cpp @@ -44,6 +44,7 @@ #include "protocol.h" #include "syncableobject.h" #include "types.h" +#include "version.h" #ifndef Q_OS_WIN # include "posixsignalwatcher.h" @@ -51,12 +52,13 @@ # include "windowssignalwatcher.h" #endif -#include "../../version.h" - Quassel::Quassel() : Singleton{this} , _logger{new Logger{this}} { +#ifdef EMBED_DATA + Q_INIT_RESOURCE(i18n); +#endif }