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
Andre Hartmann 2018-01-17 20:56:34 +01:00 committed by André Hartmann
parent 8c023326c7
commit a575859618
1 changed files with 1 additions and 1 deletions

View File

@ -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