Fix Qt4 build

pull/303/head
Kyle Cooley 7 years ago
parent 3981f79d38
commit 1fe1ec63c4

@ -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…
Cancel
Save