projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: Only load translations if running stand-alone
[quassel.git]
/
src
/
core
/
core.cpp
diff --git
a/src/core/core.cpp
b/src/core/core.cpp
index
b103b42
..
3089a73
100644
(file)
--- a/
src/core/core.cpp
+++ b/
src/core/core.cpp
@@
-104,7
+104,9
@@
bool Core::init()
{
_startTime = QDateTime::currentDateTime().toUTC(); // for uptime :)
{
_startTime = QDateTime::currentDateTime().toUTC(); // for uptime :)
- Quassel::loadTranslation(QLocale::system());
+ if (Quassel::runMode() == Quassel::RunMode::CoreOnly) {
+ Quassel::loadTranslation(QLocale::system());
+ }
// check settings version
// so far, we only have 1
// check settings version
// so far, we only have 1