Showing the changes to libraries/networking/src/ThreadedAssignment.cpp (1 of 14 files). Show all
Unified · Split
| @@ -14,7 +14,8 @@ · 13 unmodified lines | |||
| 14 | #include <QtCore/QThread> | 14 | #include <QtCore/QThread> |
| 15 | #include <QtCore/QTimer> | 15 | #include <QtCore/QTimer> |
| 16 | 16 | ||
| 17 | #include "Logging.h" | 17 | #include <LogHandler.h> |
| 18 | |||
| 18 | #include "ThreadedAssignment.h" | 19 | #include "ThreadedAssignment.h" |
| 19 | 20 | ||
| 20 | ThreadedAssignment::ThreadedAssignment(const QByteArray& packet) : | 21 | ThreadedAssignment::ThreadedAssignment(const QByteArray& packet) : |
| @@ -54,7 +55,7 @@ void ThreadedAssignment::setFinished(bool isFinished) { · 33 unmodified lines | |||
| 54 | 55 | ||
| 55 | void ThreadedAssignment::commonInit(const QString& targetName, NodeType_t nodeType, bool shouldSendStats) { | 56 | void ThreadedAssignment::commonInit(const QString& targetName, NodeType_t nodeType, bool shouldSendStats) { |
| 56 | // change the logging target name while the assignment is running | 57 | // change the logging target name while the assignment is running |
| 57 | Logging::setTargetName(targetName); | 58 | LogHandler::getInstance().setTargetName(targetName); |
| 58 | 59 | ||
| 59 | NodeList* nodeList = NodeList::getInstance(); | 60 | NodeList* nodeList = NodeList::getInstance(); |
| 60 | nodeList->setOwnerType(nodeType); | 61 | nodeList->setOwnerType(nodeType); |