summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-03-28 13:03:29 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-03-28 13:03:29 -0400
commit67ff8ea7e19570b400712fcb81ad872c3541c6e1 (patch)
treed2e5c9b8e44df5f6f7e948179ccaa5bb1509dbfd
parent722cc78632f43c3038763b7c51dba3c2ccf4d77f (diff)
downloadsigen-67ff8ea7e19570b400712fcb81ad872c3541c6e1.tar.gz
sigen-67ff8ea7e19570b400712fcb81ad872c3541c6e1.tar.xz
sigen-67ff8ea7e19570b400712fcb81ad872c3541c6e1.zip
Fix the signature of cleanup
-rw-r--r--sigencore/Canvas.cpp2
-rw-r--r--sigencore/Canvas.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sigencore/Canvas.cpp b/sigencore/Canvas.cpp
index b791bf92..d47db893 100644
--- a/sigencore/Canvas.cpp
+++ b/sigencore/Canvas.cpp
@@ -30,7 +30,7 @@ Canvas::~Canvas()
{
}
-Canvas::cleanup() const
+void Canvas::cleanup()
{
emit(cleanupCanvas());
}
diff --git a/sigencore/Canvas.h b/sigencore/Canvas.h
index 486ac81f..5f617cb5 100644
--- a/sigencore/Canvas.h
+++ b/sigencore/Canvas.h
@@ -46,7 +46,7 @@ class SIGENCORE_EXPORT Canvas : public Sigscript::Config
Q_SCRIPTABLE virtual void removeSprite(const QString& name) = 0;
Q_SCRIPTABLE virtual void transform(const QString& transform, const QString& object, const QVariantList& parameters) = 0;
- Q_SCRIPTABLE virtual cleanup() const;
+ Q_SCRIPTABLE virtual void cleanup();
virtual int type() const = 0;