Fix member initialization order [-Wreorder]

This commit is contained in:
Sergio Martins 2015-05-03 20:36:59 +01:00
parent 245082dc34
commit dea859ee60
2 changed files with 3 additions and 3 deletions

View File

@ -54,8 +54,8 @@ class PackageStructurePrivate
{ {
public: public:
PackageStructurePrivate(PackageStructure *str) PackageStructurePrivate(PackageStructure *str)
: internalStructure(0), : q(str),
q(str) internalStructure(0)
{} {}
~PackageStructurePrivate() ~PackageStructurePrivate()
{} {}

View File

@ -66,10 +66,10 @@ ThemePrivate::ThemePrivate(QObject *parent)
useGlobal(true), useGlobal(true),
hasWallpapers(false), hasWallpapers(false),
fixedName(false), fixedName(false),
backgroundContrastEnabled(true),
backgroundContrast(0), backgroundContrast(0),
backgroundIntensity(0), backgroundIntensity(0),
backgroundSaturation(0), backgroundSaturation(0),
backgroundContrastEnabled(true),
apiMajor(1), apiMajor(1),
apiMinor(0), apiMinor(0),
apiRevision(0) apiRevision(0)