cleaning up the code

This commit is contained in:
Marek Kochanowicz 2014-07-31 12:18:24 +02:00
parent c6194e7ea3
commit 40edf15ab0
3 changed files with 10 additions and 5 deletions

View file

@ -2,6 +2,7 @@
#define CSM_WOLRD_COLLECTION_H
#include <vector>
#include <iostream>
#include <map>
#include <algorithm>
#include <cctype>

View file

@ -4,6 +4,7 @@
#include <sstream>
#include <boost/lexical_cast.hpp>
#include <iostream>
#include <QColor>

View file

@ -2,6 +2,7 @@
#include <QDebug>
#include <cassert>
#include <iostream>
#include "nestedtablewrapper.hpp"
#include "collectionbase.hpp"
@ -68,7 +69,9 @@ QVariant CSMWorld::IdTable::headerData (int section,
return mIdCollection->getColumn (section).mFlags;
if (role==ColumnBase::Role_Display)
{
return mIdCollection->getColumn (section).mDisplayType;
}
return QVariant();
}