Commit 5645fdef authored by Halla Rempt's avatar Halla Rempt

Modernize initializers

parent f75ca988
......@@ -500,8 +500,6 @@ KisSwatchGroup::SwatchInfo KoColorSet::getClosestColorInfo(KoColor compare, bool
KoColorSet::Private::Private(KoColorSet *a_colorSet)
: colorSet(a_colorSet)
, isGlobal(true)
, isEditable(false)
groups[KoColorSet::GLOBAL_GROUP_NAME] = KisSwatchGroup();
......@@ -51,14 +51,14 @@ public:
bool loadKpl();
KoColorSet *colorSet;
KoColorSet *colorSet {0};
KoColorSet::PaletteType paletteType;
QByteArray data;
QString comment;
QStringList groupNames; //names of the groups, this is used to determine the order they are in.
QHash<QString, KisSwatchGroup> groups; //grouped colors.
bool isGlobal;
bool isEditable;
bool isGlobal {true};
bool isEditable {false};
KoColorSet::PaletteType detectFormat(const QString &fileName, const QByteArray &ba);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment