Commit 1f215c31 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Initialize variable

parent 991eb9c2
......@@ -33,7 +33,6 @@ using namespace MessageViewer;
WebEnginePartHtmlWriter::WebEnginePartHtmlWriter(MailWebEngineView *view, QObject *parent)
: QObject(parent)
, mHtmlView(view)
, mState(Ended)
{
assert(view);
}
......
......@@ -55,7 +55,7 @@ private:
Begun,
Queued,
Ended
} mState;
} mState = Ended;
QTemporaryFile *mTempFile = nullptr;
};
}
......
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