summaryrefslogtreecommitdiffstats
path: root/pokemodr/models/ItemEffectModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemodr/models/ItemEffectModel.cpp')
-rw-r--r--pokemodr/models/ItemEffectModel.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/pokemodr/models/ItemEffectModel.cpp b/pokemodr/models/ItemEffectModel.cpp
index 02a08c70..841768e8 100644
--- a/pokemodr/models/ItemEffectModel.cpp
+++ b/pokemodr/models/ItemEffectModel.cpp
@@ -80,8 +80,3 @@ bool ItemEffectModel::setData(const QVariant& value, int role)
}
return false;
}
-
-int ItemEffectModel::indexNumber() const
-{
- return static_cast<const Item*>(m_object->parent())->effectIndex(m_object->id());
-}