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 | 14 | #include <QtCore/QThread> |
| 15 | 15 | #include <QtCore/QTimer> |
| 16 | 16 | |
| 17 | −#include "Logging.h" | |
| 17 | +#include <LogHandler.h> | |
| 18 | + | |
| 18 | 19 | #include "ThreadedAssignment.h" |
| 19 | 20 | |
| 20 | 21 | ThreadedAssignment::ThreadedAssignment(const QByteArray& packet) : |
| @@ -54,7 +55,7 @@ void ThreadedAssignment::setFinished(bool isFinished) { · 33 unmodified lines | ||
| 54 | 55 | |
| 55 | 56 | void ThreadedAssignment::commonInit(const QString& targetName, NodeType_t nodeType, bool shouldSendStats) { |
| 56 | 57 | // change the logging target name while the assignment is running |
| 57 | − Logging::setTargetName(targetName); | |
| 58 | + LogHandler::getInstance().setTargetName(targetName); | |
| 58 | 59 | |
| 59 | 60 | NodeList* nodeList = NodeList::getInstance(); |
| 60 | 61 | nodeList->setOwnerType(nodeType); |