Readd zone name in event's notes

This commit is contained in:
Emmanuel Papin 2015-03-07 11:48:47 +01:00
parent cdcac7726b
commit 40c3ba1ed3
1 changed files with 2 additions and 6 deletions

View File

@ -201,15 +201,11 @@ void Event::createNotes( std::string &notes )
notes.clear(); notes.clear();
for ( StringSetMap::const_iterator mapIter = noteSetMap.begin(); mapIter != noteSetMap.end(); mapIter++ ) for ( StringSetMap::const_iterator mapIter = noteSetMap.begin(); mapIter != noteSetMap.end(); mapIter++ )
{ {
// No need to display the cause inside the note notes += mapIter->first;
//notes += mapIter->first; notes += ": ";
//notes += ": ";
const StringSet &stringSet = mapIter->second; const StringSet &stringSet = mapIter->second;
for ( StringSet::const_iterator setIter = stringSet.begin(); setIter != stringSet.end(); setIter++ ) for ( StringSet::const_iterator setIter = stringSet.begin(); setIter != stringSet.end(); setIter++ )
{ {
// Don't format here
//if ( setIter != stringSet.begin() )
// notes += ", ";
notes += *setIter; notes += *setIter;
} }
} }