mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
QStylePrivate cleanup
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
3e33053da0
commit
1e60c49212
2 changed files with 2 additions and 3 deletions
|
@ -82,7 +82,7 @@ void QProxyStylePrivate::ensureBaseStyle() const
|
|||
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
|
||||
|
|
|
@ -67,8 +67,7 @@ class QStylePrivate: public QObjectPrivate
|
|||
Q_DECLARE_PUBLIC(QStyle)
|
||||
public:
|
||||
inline QStylePrivate()
|
||||
: layoutSpacingIndex(-1), proxyStyle(0) {}
|
||||
mutable int layoutSpacingIndex;
|
||||
: proxyStyle(0) {}
|
||||
QStyle *proxyStyle;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue