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:
PackageStructurePrivate(PackageStructure *str)
: internalStructure(0),
q(str)
: q(str),
internalStructure(0)
{}
~PackageStructurePrivate()
{}

View File

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