diff options
Diffstat (limited to 'pokemod/Time.cpp')
| -rw-r--r-- | pokemod/Time.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pokemod/Time.cpp b/pokemod/Time.cpp index 13a4235b..1a829000 100644 --- a/pokemod/Time.cpp +++ b/pokemod/Time.cpp @@ -45,7 +45,8 @@ Pokemod::Time::Time(const Time& time, const Pokemod* parent, const int id) : Pokemod::Time::Time(const QDomElement& xml, const Pokemod* parent, const int id) : Object("Time", parent, id) { - load(xml, id); + LOAD_ID(); + load(xml); } void Pokemod::Time::validate() @@ -58,9 +59,9 @@ void Pokemod::Time::validate() TEST_END(); } -void Pokemod::Time::load(const QDomElement& xml, int id) +void Pokemod::Time::load(const QDomElement& xml) { - LOAD_ID(); + LOAD_BEGIN(); LOAD(QString, name); LOAD(int, hour); LOAD(int, minute); |
