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