Remove useless Q_OBJECT in Semaphores example

Fixes: QTBUG-108859
Change-Id: I1acf47b9dfd9c38546a2e965baa74067cedffc4a
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
Aleksandr Reviakin 2022-12-06 14:32:05 +01:00
parent 4d07f84307
commit 83be948833

View File

@ -36,7 +36,6 @@ public:
class Consumer : public QThread
//! [3] //! [4]
{
Q_OBJECT
public:
void run() override
{
@ -64,5 +63,3 @@ int main(int argc, char *argv[])
return 0;
}
//! [6]
#include "semaphores.moc"