History

some QThread cleanup and fix in Socket

Stephen Birarda committed 11 years ago

Commit de2bfd01 parent fa0abe27 files · +23 −12Browse files

Showing the changes to libraries/shared/src/GenericThread.cpp (1 of 7 files). Show all

Unified · Split

libraries/shared/src/GenericThread.cpp+2−1
@@ -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
24GenericThread::~GenericThread() {25GenericThread::~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 name37 // match the thread name to our object name
37 _thread->setObjectName(objectName());38 _thread->setObjectName(objectName());
38 39

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t