Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
if (baseStyle)
return;
- if (!baseStyle && !QApplicationPrivate::styleOverride.isEmpty()) {
+ if (!QApplicationPrivate::styleOverride.isEmpty()) {
baseStyle = QStyleFactory::create(QApplicationPrivate::styleOverride);
if (baseStyle) {
// If baseStyle is an instance of the same proxyStyle
Q_DECLARE_PUBLIC(QStyle)
public:
inline QStylePrivate()
- : layoutSpacingIndex(-1), proxyStyle(0) {}
- mutable int layoutSpacingIndex;
+ : proxyStyle(0) {}
QStyle *proxyStyle;
};