QThreadPool: Add missing semicolon after class in documentation
Makes it easier to copy and paste the snippet into a code editor. Change-Id: I27c0a7aa268bd4fd0af885e929f67a28f083dabf Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>bb10
parent
8c023326c7
commit
a575859618
|
|
@ -55,7 +55,7 @@ class HelloWorldTask : public QRunnable
|
|||
{
|
||||
qDebug() << "Hello world from thread" << QThread::currentThread();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
HelloWorldTask *hello = new HelloWorldTask();
|
||||
// QThreadPool takes ownership and deletes 'hello' automatically
|
||||
|
|
|
|||
Loading…
Reference in New Issue