X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fquassel.cpp;h=f0f257c1b1c240808d26ac491da1eab4f00b871d;hb=d4b81a6d777de45611034b26bd89973d19e60c96;hp=f83cbc7f9fbf0bebebfea841fb17bc99b9109009;hpb=cc9f5099567634673f181aa49ae0b5d19bf93f7c;p=quassel.git 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 }