Core::Core() : storage(0) {
_startTime = QDateTime::currentDateTime().toUTC(); // for uptime :)
+ loadTranslation(QLocale::system());
+
// Register storage backends here!
registerStorageBackend(new SqliteStorage(this));
// in mono mode we only start a local port if a port is specified in the cli call
if(Quassel::runMode() == Quassel::Monolithic && !Quassel::isOptionSet("port"))
return true;
-
+
bool success = false;
uint port = Quassel::optionValue("port").toUInt();
if(_server.listen(QHostAddress::Any, port)) {
- quInfo() << "Listening for GUI clients on IPv6 port" << _server.serverPort()
+ quInfo() << "Listening for GUI clients on IPv4 port" << _server.serverPort()
<< "using protocol version" << Quassel::buildInfo().protocolVersion;
success = true;
}
if(_v6server.listen(QHostAddress::AnyIPv6, port)) {
- quInfo() << "Listening for GUI clients on IPv4 port" << _v6server.serverPort()
+ quInfo() << "Listening for GUI clients on IPv6 port" << _v6server.serverPort()
<< "using protocol version" << Quassel::buildInfo().protocolVersion;
success = true;
}