Commit e1b43b7e authored by Halla Rempt's avatar Halla Rempt
Browse files

Initialize variable

parent e696ea71
......@@ -93,12 +93,13 @@ struct KisToolFreehandHelper::Private
KisToolFreehandHelper::KisToolFreehandHelper(KisPaintingInformationBuilder *infoBuilder,
const KUndo2MagicString &transactionText,
KisRecordingAdapter *recordingAdapter)
: m_d(new Private)
: m_d(new Private())
m_d->infoBuilder = infoBuilder;
m_d->recordingAdapter = recordingAdapter;
m_d->transactionText = transactionText;
m_d->smoothingOptions = KisSmoothingOptionsSP(new KisSmoothingOptions());
m_d->canvasRotation = 0;
connect(&m_d->strokeTimeoutTimer, SIGNAL(timeout()), SLOT(finishStroke()));
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