mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 04:45:33 +00:00
Fix Qt4 build
This commit is contained in:
parent
3981f79d38
commit
1fe1ec63c4
2 changed files with 9 additions and 3 deletions
|
@ -2537,4 +2537,11 @@ namespace CSMWorld
|
|||
};
|
||||
}
|
||||
|
||||
// This is required to access the type as a QVariant.
|
||||
Q_DECLARE_METATYPE(CSMWorld::LandMapLodColumn::DataType)
|
||||
//Q_DECLARE_METATYPE(CSMWorld::LandNormalsColumn::DataType) // Same as LandMapLodColumn::DataType
|
||||
Q_DECLARE_METATYPE(CSMWorld::LandHeightsColumn::DataType)
|
||||
Q_DECLARE_METATYPE(CSMWorld::LandColoursColumn::DataType)
|
||||
Q_DECLARE_METATYPE(CSMWorld::LandTexturesColumn::DataType)
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,17 +3,16 @@
|
|||
|
||||
#include "record.hpp"
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include <QVariant>
|
||||
#include <QVector>
|
||||
#include <QUndoCommand>
|
||||
#include <QModelIndex>
|
||||
|
||||
#include "columnimp.hpp"
|
||||
#include "universalid.hpp"
|
||||
#include "nestedtablewrapper.hpp"
|
||||
|
||||
|
@ -57,7 +56,7 @@ namespace CSMWorld
|
|||
|
||||
protected:
|
||||
|
||||
using DataType = QVector<uint16_t>;
|
||||
using DataType = LandTexturesColumn::DataType;
|
||||
|
||||
virtual const std::string& getOriginId() const = 0;
|
||||
virtual const std::string& getDestinationId() const = 0;
|
||||
|
|
Loading…
Reference in a new issue