mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 13:19:40 +00:00
fix uninit, #2
This commit is contained in:
parent
17fb7aa598
commit
91ff536460
2 changed files with 3 additions and 2 deletions
|
@ -131,6 +131,7 @@ namespace
|
||||||
}
|
}
|
||||||
|
|
||||||
CSMWorld::UniversalId::UniversalId (const std::string& universalId)
|
CSMWorld::UniversalId::UniversalId (const std::string& universalId)
|
||||||
|
: mIndex(0)
|
||||||
{
|
{
|
||||||
std::string::size_type index = universalId.find (':');
|
std::string::size_type index = universalId.find (':');
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ void CSVDoc::LoadingDocument::closeEvent (QCloseEvent *event)
|
||||||
}
|
}
|
||||||
|
|
||||||
CSVDoc::LoadingDocument::LoadingDocument (CSMDoc::Document *document)
|
CSVDoc::LoadingDocument::LoadingDocument (CSMDoc::Document *document)
|
||||||
: mDocument (document), mAborted (false), mMessages (0)
|
: mDocument (document), mAborted (false), mMessages (0), mTotalRecords (0)
|
||||||
{
|
{
|
||||||
setWindowTitle (("Opening " + document->getSavePath().filename().string()).c_str());
|
setWindowTitle (("Opening " + document->getSavePath().filename().string()).c_str());
|
||||||
|
|
||||||
|
@ -199,4 +199,4 @@ void CSVDoc::Loader::loadMessage (CSMDoc::Document *document, const std::string&
|
||||||
|
|
||||||
if (iter!=mDocuments.end())
|
if (iter!=mDocuments.end())
|
||||||
iter->second->addMessage (message);
|
iter->second->addMessage (message);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue