Fix logic bug if app is built with debug and autostart is disabled.

Review Request #129173 - Created Oct. 13, 2016 and updated

Information
David Edmundson
kactivities
9b9a270...
Reviewers
kdeframeworks

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
application.

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? )

David Faure

+1, seems obvious to me, although I didn't know this code.

Loading...