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 | 19 | _stopThread(false), |
| 20 | 20 | _isThreaded(false) // assume non-threaded, must call initialize() |
| 21 | 21 | { |
| 22 | + | |
| 22 | 23 | } |
| 23 | 24 | |
| 24 | 25 | GenericThread::~GenericThread() { |
| @@ -32,7 +33,7 @@ void GenericThread::initialize(bool isThreaded, QThread::Priority priority) { · 7 unmodified lines | ||
| 32 | 33 | _isThreaded = isThreaded; |
| 33 | 34 | if (_isThreaded) { |
| 34 | 35 | _thread = new QThread(this); |
| 35 | − | |
| 36 | + | |
| 36 | 37 | // match the thread name to our object name |
| 37 | 38 | _thread->setObjectName(objectName()); |
| 38 | 39 | |