Bug fixed which lead to release build not working

- Q_ASSERT was wrongly used in setting up signal connections.
- Fix is in version 0.9.5 and closes bug #27.