mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 03:40:14 +00:00
reformatting
This commit is contained in:
parent
6a0b5defd7
commit
2899f04a3f
@ -204,7 +204,8 @@ namespace CSMWorld
|
|||||||
const std::string& destination,
|
const std::string& destination,
|
||||||
const UniversalId::Type type)
|
const UniversalId::Type type)
|
||||||
{
|
{
|
||||||
Record<ESXRecordT> copy(getRecord(origin));
|
Record<ESXRecordT> copy;
|
||||||
|
copy = getRecord(origin);
|
||||||
copy.mState = RecordBase::State_ModifiedOnly;
|
copy.mState = RecordBase::State_ModifiedOnly;
|
||||||
copy.get().mId = destination;
|
copy.get().mId = destination;
|
||||||
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
|
|
||||||
#include "commands.hpp"
|
#include "commands.hpp"
|
||||||
#include <QAbstractItemModel>
|
|
||||||
#include "idtable.hpp"
|
#include "idtable.hpp"
|
||||||
|
#include <QAbstractItemModel>
|
||||||
#include <components/misc/stringops.hpp>
|
#include <components/misc/stringops.hpp>
|
||||||
|
|
||||||
CSMWorld::ModifyCommand::ModifyCommand(QAbstractItemModel& model, const QModelIndex& index,
|
CSMWorld::ModifyCommand::ModifyCommand(QAbstractItemModel& model, const QModelIndex& index,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user