mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 12:39:55 +00:00
cleaning up the code
This commit is contained in:
parent
c6194e7ea3
commit
40edf15ab0
@ -2,6 +2,7 @@
|
||||
#define CSM_WOLRD_COLLECTION_H
|
||||
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
#include <algorithm>
|
||||
#include <cctype>
|
||||
|
@ -4,6 +4,7 @@
|
||||
#include <sstream>
|
||||
|
||||
#include <boost/lexical_cast.hpp>
|
||||
#include <iostream>
|
||||
|
||||
#include <QColor>
|
||||
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user