From 8642fe0ba100dee5a66265b07e21e043887a4a92 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 21 Dec 2012 00:06:20 +0000 Subject: Signals (slots really) are now comperable. Building two slots for the same function or same object and method will compare as expected. Also added a -= function to Bu::List which works just like erase. --- src/tests/signal.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tests/signal.cpp') diff --git a/src/tests/signal.cpp b/src/tests/signal.cpp index 93519fa..62e8bd5 100644 --- a/src/tests/signal.cpp +++ b/src/tests/signal.cpp @@ -40,6 +40,8 @@ int main() lMaths += slot(Double); lMaths += slot(Square); println("Math'd %1 = %2").arg( 5 ).arg( lMaths(5) ); + lMaths -= slot(Square); + println("Math'd %1 = %2").arg( 5 ).arg( lMaths(5) ); return 0; } -- cgit v1.2.3