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