|
|
|
@ -1,8 +1,6 @@
|
|
|
|
|
#include "refrecordtypedelegate.hpp"
|
|
|
|
|
#include "../../model/world/universalid.hpp"
|
|
|
|
|
|
|
|
|
|
#include <QDebug>
|
|
|
|
|
|
|
|
|
|
CSVWorld::RefRecordTypeDelegate::RefRecordTypeDelegate
|
|
|
|
|
(const std::vector<std::pair<int, QString> > &values, QUndoStack& undoStack, QObject *parent)
|
|
|
|
|
: EnumDelegate (values, undoStack, parent)
|
|
|
|
@ -17,8 +15,6 @@ CSVWorld::RefRecordTypeDelegateFactory::RefRecordTypeDelegateFactory()
|
|
|
|
|
std::pair<int, const char *> idPair = CSMWorld::UniversalId::getIdArgPair(i);
|
|
|
|
|
|
|
|
|
|
mValues.push_back (std::pair<int, QString>(idPair.first, QString::fromUtf8(idPair.second)));
|
|
|
|
|
|
|
|
|
|
qDebug() << "index: " << mValues.at(i).first << "; value: " << mValues.at(i).second;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|