don't call qApp->foo() to initialise a global variable

Authored by rjvbb on Aug 23 2019, 7:57 PM.

Description

don't call qApp->foo() to initialise a global variable

Instead, initialise the variable just before it's used, in Style::init()
when it is certain that a QCoreApplication instance exists.

Details

Committed
rjvbbAug 23 2019, 7:57 PM
Parents
R626:ee2228ea2f18: [utils/gtkprops] Remove unnecessary constexpr, this is not allowed in C++14
Branches
Unknown
Tags
Unknown
References
HEAD -> master