no longer rerporting sucessfull opened server port on v4 interfaces as an IPv4 port...
[quassel.git] / src / core / core.cpp
index 383526a..9432f2a 100644 (file)
@@ -52,6 +52,8 @@ void Core::destroy() {
 Core::Core() : storage(0) {
   _startTime = QDateTime::currentDateTime().toUTC();  // for uptime :)
 
+  loadTranslation(QLocale::system());
+
   // Register storage backends here!
   registerStorageBackend(new SqliteStorage(this));
 
@@ -359,17 +361,17 @@ bool Core::startListening() {
   // 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;
   }