mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 06:53:52 +00:00
removed needless member value.
This commit is contained in:
parent
bb62efc3d8
commit
6a0b5defd7
3 changed files with 10 additions and 6 deletions
|
@ -1,9 +1,8 @@
|
||||||
|
|
||||||
#include "commands.hpp"
|
#include "commands.hpp"
|
||||||
|
|
||||||
#include <QAbstractItemModel>
|
#include <QAbstractItemModel>
|
||||||
#include <components/misc/stringops.hpp>
|
|
||||||
#include "idtable.hpp"
|
#include "idtable.hpp"
|
||||||
|
#include <components/misc/stringops.hpp>
|
||||||
|
|
||||||
CSMWorld::ModifyCommand::ModifyCommand(QAbstractItemModel& model, const QModelIndex& index,
|
CSMWorld::ModifyCommand::ModifyCommand(QAbstractItemModel& model, const QModelIndex& index,
|
||||||
const QVariant& new_, QUndoCommand* parent)
|
const QVariant& new_, QUndoCommand* parent)
|
||||||
|
|
|
@ -57,9 +57,15 @@ const CSMWorld::UniversalId& CSVWorld::GenericCreator::getCollectionId() const
|
||||||
}
|
}
|
||||||
|
|
||||||
CSVWorld::GenericCreator::GenericCreator (CSMWorld::Data& data, QUndoStack& undoStack,
|
CSVWorld::GenericCreator::GenericCreator (CSMWorld::Data& data, QUndoStack& undoStack,
|
||||||
const CSMWorld::UniversalId& id, bool relaxedIdRules)
|
const CSMWorld::UniversalId& id, bool relaxedIdRules):
|
||||||
: mData (data), mUndoStack (undoStack), mListId (id), mLocked (false), mCloneMode(false), mClonedType(CSMWorld::UniversalId::Type_None),
|
|
||||||
mArgumentType(CSMWorld::UniversalId::ArgumentType_None)
|
mData (data),
|
||||||
|
mUndoStack (undoStack),
|
||||||
|
mListId (id),
|
||||||
|
mLocked (false),
|
||||||
|
mCloneMode(false),
|
||||||
|
mClonedType(CSMWorld::UniversalId::Type_None)
|
||||||
|
|
||||||
{
|
{
|
||||||
mLayout = new QHBoxLayout;
|
mLayout = new QHBoxLayout;
|
||||||
mLayout->setContentsMargins (0, 0, 0, 0);
|
mLayout->setContentsMargins (0, 0, 0, 0);
|
||||||
|
|
|
@ -31,7 +31,6 @@ namespace CSVWorld
|
||||||
bool mLocked;
|
bool mLocked;
|
||||||
std::string mClonedId;
|
std::string mClonedId;
|
||||||
CSMWorld::UniversalId::Type mClonedType;
|
CSMWorld::UniversalId::Type mClonedType;
|
||||||
CSMWorld::UniversalId::ArgumentType mArgumentType;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool mCloneMode;
|
bool mCloneMode;
|
||||||
|
|
Loading…
Reference in a new issue