summaryrefslogtreecommitdiffstats
path: root/pokemodr/TimeUI.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-01-25 02:21:09 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-01-25 02:21:09 +0000
commit081bd53cf22ca40a6e436bc46eb62ad469909d6f (patch)
tree2b20a84df93e418ab0261231cf4b993ec57b2ca2 /pokemodr/TimeUI.cpp
parent095c93a62b0be0893063748d67051e35810a7f48 (diff)
downloadsigen-081bd53cf22ca40a6e436bc46eb62ad469909d6f.tar.gz
sigen-081bd53cf22ca40a6e436bc46eb62ad469909d6f.tar.xz
sigen-081bd53cf22ca40a6e436bc46eb62ad469909d6f.zip
[FIX] Frac returns a double (not an unsigned typcast to double, making 0 all the time)
[FIX] maxDV now works on 0 and 1 rather than 16 and 32 [FIX] Stuff ignored (due to other options) can't throw Exceptions in Rules anymore [FIX] UI logic fixed git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@45 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/TimeUI.cpp')
-rw-r--r--pokemodr/TimeUI.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/pokemodr/TimeUI.cpp b/pokemodr/TimeUI.cpp
index 599efc29..5710d16f 100644
--- a/pokemodr/TimeUI.cpp
+++ b/pokemodr/TimeUI.cpp
@@ -25,12 +25,13 @@
#include "TimeUI.h"
TimeUI::TimeUI(Time* t, QWidget* parent) :
+ ObjectUI(parent),
time(t),
- time_mod(new Time(t->getPokemod(), *t, t->getId())),
- ObjectUI(time, time_mod, parent)
+ time_mod(new Time(t->getPokemod(), *t, t->getId()))
{
setupUi(this);
QMetaObject::connectSlotsByName(this);
+ setObjects(time, time_mod);
setGui();
}