Hmm, sender() didn't compile which is why I ended up adding q_func()-> to it. This might explain the assertion that  adenexter is seeing.