Showing the changes to libraries/networking/src/DomainHandler.cpp (1 of 6 files). Show all
Unified · Split
| @@ -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 | } |