History

Adding logger calls

Atlante45 committed 12 years ago

Commit f33ad8a1 parent e9dffc06 files · +55 −33Browse files

Showing the changes to libraries/networking/src/DomainHandler.cpp (1 of 6 files). Show all

Unified · Split

libraries/networking/src/DomainHandler.cpp+2−0
@@ -11,6 +11,7 @@ · 10 unmodified lines
11 11
12#include "NodeList.h"12#include "NodeList.h"
13#include "PacketHeaders.h"13#include "PacketHeaders.h"
14#include "UserActivityLogger.h"
14 15
15#include "DomainHandler.h"16#include "DomainHandler.h"
16 17
@@ -83,6 +84,7 @@ void DomainHandler::setHostname(const QString& hostname) { · 66 unmodified lines
83 qDebug("Looking up DS hostname %s.", _hostname.toLocal8Bit().constData());84 qDebug("Looking up DS hostname %s.", _hostname.toLocal8Bit().constData());
84 QHostInfo::lookupHost(_hostname, this, SLOT(completedHostnameLookup(const QHostInfo&)));85 QHostInfo::lookupHost(_hostname, this, SLOT(completedHostnameLookup(const QHostInfo&)));
85 86
87 UserActivityLogger::getInstance().changedDomain(_hostname);
86 emit hostnameChanged(_hostname);88 emit hostnameChanged(_hostname);
87 }89 }
88}90}