Showing the changes to libraries/shared/src/GenericThread.cpp (1 of 7 files). Show all
Unified · Split
| @@ -19,6 +19,7 @@ GenericThread::GenericThread(QObject* parent) : · 18 unmodified lines | |||
| 19 | _stopThread(false), | 19 | _stopThread(false), |
| 20 | _isThreaded(false) // assume non-threaded, must call initialize() | 20 | _isThreaded(false) // assume non-threaded, must call initialize() |
| 21 | { | 21 | { |
| 22 | |||
| 22 | } | 23 | } |
| 23 | 24 | ||
| 24 | GenericThread::~GenericThread() { | 25 | GenericThread::~GenericThread() { |
| @@ -32,7 +33,7 @@ void GenericThread::initialize(bool isThreaded, QThread::Priority priority) { · 7 unmodified lines | |||
| 32 | _isThreaded = isThreaded; | 33 | _isThreaded = isThreaded; |
| 33 | if (_isThreaded) { | 34 | if (_isThreaded) { |
| 34 | _thread = new QThread(this); | 35 | _thread = new QThread(this); |
| 35 | 36 | ||
| 36 | // match the thread name to our object name | 37 | // match the thread name to our object name |
| 37 | _thread->setObjectName(objectName()); | 38 | _thread->setObjectName(objectName()); |
| 38 | 39 | ||