Fix logic bug if app is built with debug and autostart is disabled.
Review Request #129173 - Created Oct. 13, 2016 and updated
Was tracking down a bug, noticed something (unrelated) wrong.
The disableAutostart property is only in one of the two code paths.
Disabling debug should not have an effect on the behaviour of the
This patch puts the same logic (the more common debug enabled branch) in both code paths.
Logged out, logged in. All started fine.
(though I don't understand why you have a no QT_DEBUG branch when using categorised logging anyway? )