summaryrefslogtreecommitdiff
path: root/examples/corelib
diff options
context:
space:
mode:
authorAleksandr Reviakin <aleksandr.reviakin@qt.io>2022-12-06 14:32:05 +0100
committerAleksandr Reviakin <aleksandr.reviakin@qt.io>2022-12-07 14:03:03 +0100
commit83be948833918ae04ed2c8f1cfd48589ac200b37 (patch)
treedc3eed426c519dadeea79596eb20d80e95566b67 /examples/corelib
parent4d07f843072b367f45cb636d49415ceb92ca1dd9 (diff)
downloadqtbase-83be948833918ae04ed2c8f1cfd48589ac200b37.tar.gz
Remove useless Q_OBJECT in Semaphores example
Fixes: QTBUG-108859 Change-Id: I1acf47b9dfd9c38546a2e965baa74067cedffc4a Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'examples/corelib')
-rw-r--r--examples/corelib/threads/semaphores/semaphores.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/corelib/threads/semaphores/semaphores.cpp b/examples/corelib/threads/semaphores/semaphores.cpp
index 2d9d169138..5a49555110 100644
--- a/examples/corelib/threads/semaphores/semaphores.cpp
+++ b/examples/corelib/threads/semaphores/semaphores.cpp
@@ -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"