From c5dcfe0794daeed3ee39b0887cac7d7a265a203c Mon Sep 17 00:00:00 2001 From: MAtahualpa Date: Sun, 12 Feb 2017 13:50:58 +0100 Subject: [PATCH] Update refidadapterimp.cpp Code cosmetics: Change member variable "mSkillID" to "mSkillId" for Book records. --- apps/opencs/model/world/refidadapterimp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/opencs/model/world/refidadapterimp.cpp b/apps/opencs/model/world/refidadapterimp.cpp index 086e95c34..0da4769a8 100644 --- a/apps/opencs/model/world/refidadapterimp.cpp +++ b/apps/opencs/model/world/refidadapterimp.cpp @@ -316,7 +316,7 @@ QVariant CSMWorld::BookRefIdAdapter::getData (const RefIdColumn *column, return record.get().mData.mIsScroll!=0; if (column==mSkill) - return record.get().mData.mSkillID; + return record.get().mData.mSkillId; if (column==mText) return QString::fromUtf8 (record.get().mText.c_str()); @@ -335,7 +335,7 @@ void CSMWorld::BookRefIdAdapter::setData (const RefIdColumn *column, RefIdData& if (column==mScroll) book.mData.mIsScroll = value.toInt(); else if (column==mSkill) - book.mData.mSkillID = value.toInt(); + book.mData.mSkillId = value.toInt(); else if (column==mText) book.mText = value.toString().toUtf8().data(); else