Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.2.0
-
None
-
4b0ad2fcc8689a780b3337c1f122d413eba713f8
Description
In the docs for QThread, the first code part:
http://qt-project.org/doc/qt-5/qthread.html#details
workerThread is defined as a Controller member of type QThread. This makes the first connect() statement to fail compilation since connect expects a pointer:
connect(workerThread, &QThread::finished, worker, &QObject::deleteLater);