summaryrefslogtreecommitdiffstats
path: root/pokemodr/commands/CommandWidget.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-05-20 22:24:45 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-05-20 22:24:45 +0000
commitd910d8ec38e0c33eeb32b7ceaaea9b40632cbd17 (patch)
treea2fd6b050b2eea3bf26e6d04121e07a478ca5d16 /pokemodr/commands/CommandWidget.cpp
parent8ac53af4a15a59b8f6adf7a2468a1bd90a7cc549 (diff)
downloadsigen-d910d8ec38e0c33eeb32b7ceaaea9b40632cbd17.tar.gz
sigen-d910d8ec38e0c33eeb32b7ceaaea9b40632cbd17.tar.xz
sigen-d910d8ec38e0c33eeb32b7ceaaea9b40632cbd17.zip
[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
Diffstat (limited to 'pokemodr/commands/CommandWidget.cpp')
-rw-r--r--pokemodr/commands/CommandWidget.cpp6
1 files changed, 4 insertions, 2 deletions
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)
{
}