mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
Update refidadapterimp.cpp
Code cosmetics: Change member variable "mSkillID" to "mSkillId" for Book records.
This commit is contained in:
parent
6587880171
commit
c5dcfe0794
@ -316,7 +316,7 @@ QVariant CSMWorld::BookRefIdAdapter::getData (const RefIdColumn *column,
|
|||||||
return record.get().mData.mIsScroll!=0;
|
return record.get().mData.mIsScroll!=0;
|
||||||
|
|
||||||
if (column==mSkill)
|
if (column==mSkill)
|
||||||
return record.get().mData.mSkillID;
|
return record.get().mData.mSkillId;
|
||||||
|
|
||||||
if (column==mText)
|
if (column==mText)
|
||||||
return QString::fromUtf8 (record.get().mText.c_str());
|
return QString::fromUtf8 (record.get().mText.c_str());
|
||||||
@ -335,7 +335,7 @@ void CSMWorld::BookRefIdAdapter::setData (const RefIdColumn *column, RefIdData&
|
|||||||
if (column==mScroll)
|
if (column==mScroll)
|
||||||
book.mData.mIsScroll = value.toInt();
|
book.mData.mIsScroll = value.toInt();
|
||||||
else if (column==mSkill)
|
else if (column==mSkill)
|
||||||
book.mData.mSkillID = value.toInt();
|
book.mData.mSkillId = value.toInt();
|
||||||
else if (column==mText)
|
else if (column==mText)
|
||||||
book.mText = value.toString().toUtf8().data();
|
book.mText = value.toString().toUtf8().data();
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user