diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-06-30 03:46:19 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-06-30 03:46:19 +0000 |
| commit | ab30493f374c0e4cf52bfe711dd8c9f6c90396d6 (patch) | |
| tree | 915903ada290bdd94314439bc163a000011b6142 /pokemodr/ObjectUI.cpp | |
| parent | a423cf3db8fa90cc09d2f92ff892e4fcdda4af16 (diff) | |
| download | sigen-ab30493f374c0e4cf52bfe711dd8c9f6c90396d6.tar.gz sigen-ab30493f374c0e4cf52bfe711dd8c9f6c90396d6.tar.xz sigen-ab30493f374c0e4cf52bfe711dd8c9f6c90396d6.zip | |
[FIX] Using qobject_cast now where possible
[FIX] ScriptWidget now uses KTextEditor (highlighting)
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@218 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/ObjectUI.cpp')
| -rw-r--r-- | pokemodr/ObjectUI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemodr/ObjectUI.cpp b/pokemodr/ObjectUI.cpp index ef744f86..49025985 100644 --- a/pokemodr/ObjectUI.cpp +++ b/pokemodr/ObjectUI.cpp @@ -66,7 +66,7 @@ bool Pokemodr::ObjectUI::isChanged() const const Pokemod::Pokemod* Pokemodr::ObjectUI::pokemod() const { - return static_cast<const Pokemod::Pokemod*>(m_object->pokemod()); + return qobject_cast<const Pokemod::Pokemod*>(m_object->pokemod()); } const Pokemod::Pokemod::Object* Pokemodr::ObjectUI::original() const |
