Fix some soft crashes (nothing of consequence, but it could show an
Apport error window) from some stray Qt signals when double-clicking.