mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-01 14:45:33 +00:00
cleaning up the code
This commit is contained in:
parent
c6194e7ea3
commit
40edf15ab0
3 changed files with 10 additions and 5 deletions
|
@ -2,6 +2,7 @@
|
||||||
#define CSM_WOLRD_COLLECTION_H
|
#define CSM_WOLRD_COLLECTION_H
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
#include <iostream>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cctype>
|
#include <cctype>
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
#include <boost/lexical_cast.hpp>
|
#include <boost/lexical_cast.hpp>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
#include <QColor>
|
#include <QColor>
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
#include <iostream>
|
||||||
#include "nestedtablewrapper.hpp"
|
#include "nestedtablewrapper.hpp"
|
||||||
|
|
||||||
#include "collectionbase.hpp"
|
#include "collectionbase.hpp"
|
||||||
|
@ -68,7 +69,9 @@ QVariant CSMWorld::IdTable::headerData (int section,
|
||||||
return mIdCollection->getColumn (section).mFlags;
|
return mIdCollection->getColumn (section).mFlags;
|
||||||
|
|
||||||
if (role==ColumnBase::Role_Display)
|
if (role==ColumnBase::Role_Display)
|
||||||
|
{
|
||||||
return mIdCollection->getColumn (section).mDisplayType;
|
return mIdCollection->getColumn (section).mDisplayType;
|
||||||
|
}
|
||||||
|
|
||||||
return QVariant();
|
return QVariant();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue