qt: add proxy to options overridden if necessary. Fixes #4975

If proxy is disabled in the gui but enabled via the command line, it needs to
be added to the override list.
Indeed, please do that instead. That code is already bad enough without confusing argument types :-)