Diffusion Krita 52cf33c8e760

Call QSurfaceFormat::setDefaultFormat only once

Authored by alvinhochun on Aug 3 2017, 3:04 PM.

Description

Call QSurfaceFormat::setDefaultFormat only once

In theory, as long as it's set before QApplication is created and not
changed after that there should be no problem. However Qt outputs a
warning even if it's called with the same arguments. We should reduce
logging noise.

Details

Committed
alvinhochunAug 4 2017, 1:33 PM
Parents
R37:61bcd0924bd6: BUG:382690 Fix a regression with delegated tools.
Branches
Unknown
Tags
Unknown