Qt: try to fix #2430 (OpenUrl can crash).