diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/FbTk/Signal.hh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/FbTk/Signal.hh b/src/FbTk/Signal.hh index 702f05e..b70c501 100644 --- a/src/FbTk/Signal.hh +++ b/src/FbTk/Signal.hh | |||
@@ -265,9 +265,8 @@ public: | |||
265 | 265 | ||
266 | void leaveAll() { | 266 | void leaveAll() { |
267 | // disconnect all connections | 267 | // disconnect all connections |
268 | for ( Iterator conIt = m_connections.begin(); | 268 | for ( ; !m_connections.empty(); ) { |
269 | conIt != m_connections.end(); ++conIt) { | 269 | leave(m_connections.begin(), true); |
270 | leave(conIt, true); | ||
271 | } | 270 | } |
272 | } | 271 | } |
273 | 272 | ||