diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-05-09 03:48:14 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-05-09 03:48:14 +0000 |
| commit | 32a23089b9e2dfe59b3e70be814d8eee9ed9fb61 (patch) | |
| tree | 1c828ea2f932bf6c859ad9e80f09d1ff24fb386f /pokemodr/models/RootModel.cpp | |
| parent | 39a1b43adbebb73b87c4a2346b9ccb2c2a34753b (diff) | |
| download | sigen-32a23089b9e2dfe59b3e70be814d8eee9ed9fb61.tar.gz sigen-32a23089b9e2dfe59b3e70be814d8eee9ed9fb61.tar.xz sigen-32a23089b9e2dfe59b3e70be814d8eee9ed9fb61.zip | |
[FIX] Some invalid indexing in PokemodModel
[FIX] Root now makes only 1 Pokemod for now
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@122 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/models/RootModel.cpp')
| -rw-r--r-- | pokemodr/models/RootModel.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pokemodr/models/RootModel.cpp b/pokemodr/models/RootModel.cpp index a0a237f8..7dac9b39 100644 --- a/pokemodr/models/RootModel.cpp +++ b/pokemodr/models/RootModel.cpp @@ -64,7 +64,6 @@ void RootModel::setupData() setupData(QList<QVariant>()); } - void RootModel::setupData(const QList<QVariant>& pokemods) { QFile fin("full.pmod"); @@ -73,6 +72,5 @@ void RootModel::setupData(const QList<QVariant>& pokemods) xml.setContent(&fin); fin.close(); m_objects.append(new PokemodModel(this, new Pokemod(xml.documentElement()))); - m_objects.append(new PokemodModel(this, new Pokemod(xml.documentElement()))); // TODO: make sub models from data } |
