1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 07:53:51 +00:00

reformatting

This commit is contained in:
Marek Kochanowicz 2014-01-27 14:43:12 +01:00
parent 6a0b5defd7
commit 2899f04a3f
2 changed files with 4 additions and 2 deletions

View file

@ -204,7 +204,8 @@ namespace CSMWorld
const std::string& destination,
const UniversalId::Type type)
{
Record<ESXRecordT> copy(getRecord(origin));
Record<ESXRecordT> copy;
copy = getRecord(origin);
copy.mState = RecordBase::State_ModifiedOnly;
copy.get().mId = destination;

View file

@ -1,7 +1,8 @@
#include "commands.hpp"
#include <QAbstractItemModel>
#include "idtable.hpp"
#include <QAbstractItemModel>
#include <components/misc/stringops.hpp>
CSMWorld::ModifyCommand::ModifyCommand(QAbstractItemModel& model, const QModelIndex& index,