summaryrefslogtreecommitdiffstats
path: root/examples/corelib/threads/semaphores/semaphores.cpp
diff options
context:
space:
mode:
authorSamuel Gaist <samuel.gaist@idiap.ch>2018-12-12 12:18:10 +0100
committerSamuel Gaist <samuel.gaist@idiap.ch>2019-01-03 11:37:22 +0000
commit7ca39bf7bcfaca46463d41b25441127909bbdd82 (patch)
treeb32e14308ae3185b4084946423409272ae695b38 /examples/corelib/threads/semaphores/semaphores.cpp
parentdd988e2074fa8d7d230b14ab997bcfc86dc6e1a4 (diff)
Doc: cleanup semaphore example
This patch removes unused signal and variable. Change-Id: Ia4eaf083493d3d37e3ff22e0380d5a5ee69f91cf Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Sze Howe Koh <szehowe.koh@gmail.com>
Diffstat (limited to 'examples/corelib/threads/semaphores/semaphores.cpp')
-rw-r--r--examples/corelib/threads/semaphores/semaphores.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/examples/corelib/threads/semaphores/semaphores.cpp b/examples/corelib/threads/semaphores/semaphores.cpp
index 145624bb0b..a245b9906b 100644
--- a/examples/corelib/threads/semaphores/semaphores.cpp
+++ b/examples/corelib/threads/semaphores/semaphores.cpp
@@ -94,12 +94,6 @@ public:
}
fprintf(stderr, "\n");
}
-
-signals:
- void stringConsumed(const QString &text);
-
-protected:
- bool finish;
};
//! [4]