Commit d30bf131 authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix uninitialized variables warnings

parent c8709b33
......@@ -58,7 +58,8 @@ struct KisPaintOp::Private {
: q(_q), dab(0),
currentScale(1.0),
currentRotation(0),
fanCornersEnabled(false) {}
fanCornersEnabled(false),
fanCornersStep(1.0) {}
KisPaintOp *q;
......
......@@ -42,7 +42,9 @@
struct KisPaintOpPreset::Private {
Private()
: settings(0) {
: settings(0),
dirtyPreset(false)
{
}
KisPaintOpSettingsSP settings;
......@@ -55,7 +57,6 @@ KisPaintOpPreset::KisPaintOpPreset()
: KoResource(QString())
, m_d(new Private)
{
m_d->dirtyPreset = false;
}
KisPaintOpPreset::KisPaintOpPreset(const QString & fileName)
......
......@@ -50,6 +50,9 @@ struct KisDisplayColorConverter::Private
paintingColorSpace(0),
monitorColorSpace(0),
monitorProfile(0),
renderingIntent(KoColorConversionTransformation::InternalRenderingIntent),
conversionFlags(KoColorConversionTransformation::InternalConversionFlags),
displayFilter(0),
intermediateColorSpace(0),
displayRenderer(new DisplayRenderer(_q, _parentCanvas))
{
......
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