projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modernize: Remove custom Quassel-specific log macros
[quassel.git]
/
src
/
core
/
identserver.cpp
diff --git
a/src/core/identserver.cpp
b/src/core/identserver.cpp
index
bd81e16
..
5cbb188
100644
(file)
--- a/
src/core/identserver.cpp
+++ b/
src/core/identserver.cpp
@@
-23,7
+23,6
@@
#include <limits>
#include "corenetwork.h"
#include <limits>
#include "corenetwork.h"
-#include "logmessage.h"
IdentServer::IdentServer(QObject* parent)
: QObject(parent)
IdentServer::IdentServer(QObject* parent)
: QObject(parent)
@@
-38,19
+37,19
@@
bool IdentServer::startListening()
bool success = false;
if (_v6server.listen(QHostAddress("::1"), port)) {
bool success = false;
if (_v6server.listen(QHostAddress("::1"), port)) {
- q
u
Info() << qPrintable(tr("Listening for identd clients on IPv6 %1 port %2").arg("::1").arg(_v6server.serverPort()));
+ qInfo() << qPrintable(tr("Listening for identd clients on IPv6 %1 port %2").arg("::1").arg(_v6server.serverPort()));
success = true;
}
if (_server.listen(QHostAddress("127.0.0.1"), port)) {
success = true;
}
if (_server.listen(QHostAddress("127.0.0.1"), port)) {
- q
u
Info() << qPrintable(tr("Listening for identd clients on IPv4 %1 port %2").arg("127.0.0.1").arg(_server.serverPort()));
+ qInfo() << qPrintable(tr("Listening for identd clients on IPv4 %1 port %2").arg("127.0.0.1").arg(_server.serverPort()));
success = true;
}
if (!success) {
success = true;
}
if (!success) {
- q
uError
() << qPrintable(tr("Identd could not open any network interfaces to listen on! No identd functionality will be available"));
+ q
Warning
() << qPrintable(tr("Identd could not open any network interfaces to listen on! No identd functionality will be available"));
}
return success;
}
return success;
@@
-71,9
+70,9
@@
void IdentServer::stopListening(const QString& msg)
if (wasListening) {
if (msg.isEmpty())
if (wasListening) {
if (msg.isEmpty())
- q
u
Info() << "No longer listening for identd clients.";
+ qInfo() << "No longer listening for identd clients.";
else
else
- q
u
Info() << qPrintable(msg);
+ qInfo() << qPrintable(msg);
}
}
}
}