Qt minor changes detecting the environment.
Remove default arguments for methods (Google Style).