From 081bd53cf22ca40a6e436bc46eb62ad469909d6f Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 25 Jan 2008 02:21:09 +0000 Subject: [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 --- pokemodr/TimeUI.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pokemodr/TimeUI.cpp') 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(); } -- cgit