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
1919 _stopThread(false),
2020 _isThreaded(false) // assume non-threaded, must call initialize()
2121 {
22+
2223 }
2324
2425 GenericThread::~GenericThread() {
@@ -32,7 +33,7 @@ void GenericThread::initialize(bool isThreaded, QThread::Priority priority) { · 7 unmodified lines
3233 _isThreaded = isThreaded;
3334 if (_isThreaded) {
3435 _thread = new QThread(this);
35−
36+
3637 // match the thread name to our object name
3738 _thread->setObjectName(objectName());
3839

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