qt5base-lts/examples/tutorials/threads
Bradley T. Hughes 3c74720f74 Assign function argument to class member, not to itself
The 'worker' function argument shadows the class member of the same
name, and 'worker = worker;' assigns the function argument to itself,
not to the member as intended.

examples/tutorials/threads/movedobject/thread.cpp:69: warning:
explicitly assigning a variable of type 'QObject *' to itself [-Wself-
    worker = worker;
    ~~~~~~ ^ ~~~~~~

Change-Id: If4adf486a86a4ba4e7f7040a7771a70b7dd9aa86
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2011-11-09 15:28:36 +01:00
..
clock QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
helloconcurrent QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
hellothread QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
hellothreadpool QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
movedobject Assign function argument to class member, not to itself 2011-11-09 15:28:36 +01:00
threads.pro fix pro files 2011-05-07 23:50:03 +02:00