summaryrefslogtreecommitdiffstats
path: root/sigmodr/SigmodUI.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-10-13 17:25:26 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-10-13 17:25:26 +0000
commit1a5c60b60eb6e3209ec1c59d20a65bf413330500 (patch)
tree6f0e051e3ef2622b6e77d262861b5da16c4395de /sigmodr/SigmodUI.cpp
parent03e65c78d1bc08bdaee86cf09a4dd8735b6a9fdd (diff)
downloadsigen-1a5c60b60eb6e3209ec1c59d20a65bf413330500.tar.gz
sigen-1a5c60b60eb6e3209ec1c59d20a65bf413330500.tar.xz
sigen-1a5c60b60eb6e3209ec1c59d20a65bf413330500.zip
[FIX] Now using KDE4_* macros in CMake
[FIX] The LaTeX is outdated, removing [FIX] Split up TypechartModel and TilemapModel into header and source git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@276 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'sigmodr/SigmodUI.cpp')
-rw-r--r--sigmodr/SigmodUI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sigmodr/SigmodUI.cpp b/sigmodr/SigmodUI.cpp
index 4b3defca..4dbc32a8 100644
--- a/sigmodr/SigmodUI.cpp
+++ b/sigmodr/SigmodUI.cpp
@@ -45,7 +45,7 @@ void Sigmodr::SigmodUI::initGui()
QStringList types;
for (int i = 0; i < qobject_cast<Sigmod::Sigmod*>(original())->typeCount(); ++i)
types << qobject_cast<Sigmod::Sigmod*>(original())->type(i)->name();
- varTypechart->setModel(new TypechartModel(*qobject_cast<Sigmod::Sigmod*>(modified())->typechart(), types));
+ varTypechart->setModel(new TypechartModel(qobject_cast<Sigmod::Sigmod*>(modified())->typechart(), types));
}
void Sigmodr::SigmodUI::refreshGui()