From d910d8ec38e0c33eeb32b7ceaaea9b40632cbd17 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 20 May 2008 22:24:45 +0000 Subject: [FIX] Models cleaned up (each class is now in its own file, parenting not hard-coded, etc.) [FIX] Tree bug fixed! :) git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@157 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemodr/commands/CommandWidget.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pokemodr/commands/CommandWidget.cpp') diff --git a/pokemodr/commands/CommandWidget.cpp b/pokemodr/commands/CommandWidget.cpp index 83d4dc9f..8bd3b0c6 100644 --- a/pokemodr/commands/CommandWidget.cpp +++ b/pokemodr/commands/CommandWidget.cpp @@ -18,8 +18,10 @@ // Header include #include "CommandWidget.h" -CommandWidget::CommandWidget(const Pokemod* pokemod) : - QWidget(NULL) +CommandWidget::CommandWidget(const Pokemod* pokemod, const int command) : + QWidget(NULL), + m_pokemod(pokemod), + m_command(command) { } -- cgit