qt: Add null check in setClientModel(0)
Don't clear tray icon menu if it was never created. Necessary precaution after #4649.