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:
parent
4d07f84307
commit
83be948833
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user