mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-01 06:36:39 +00:00
fix uninitialized fields in CSMDoc::Operation class
This commit is contained in:
parent
deb6452e0d
commit
a799353f60
1 changed files with 4 additions and 2 deletions
|
@ -27,7 +27,9 @@ void CSMDoc::Operation::prepareStages()
|
||||||
}
|
}
|
||||||
|
|
||||||
CSMDoc::Operation::Operation (int type, bool ordered, bool finalAlways)
|
CSMDoc::Operation::Operation (int type, bool ordered, bool finalAlways)
|
||||||
: mType (type), mOrdered (ordered), mFinalAlways (finalAlways)
|
: mType (type), mStages(std::vector<std::pair<Stage *, int> >()), mCurrentStage(mStages.begin()),
|
||||||
|
mCurrentStep(0), mCurrentStepTotal(0), mTotalSteps(0), mOrdered (ordered),
|
||||||
|
mFinalAlways (finalAlways), mError(false)
|
||||||
{
|
{
|
||||||
connect (this, SIGNAL (finished()), this, SLOT (operationDone()));
|
connect (this, SIGNAL (finished()), this, SLOT (operationDone()));
|
||||||
}
|
}
|
||||||
|
@ -120,4 +122,4 @@ void CSMDoc::Operation::executeStage()
|
||||||
void CSMDoc::Operation::operationDone()
|
void CSMDoc::Operation::operationDone()
|
||||||
{
|
{
|
||||||
emit done (mType, mError);
|
emit done (mType, mError);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue