summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <Sam@XPS-SUSE.site>2009-03-13 22:29:04 +0900
committerSam Spilsbury <Sam@XPS-SUSE.site>2009-03-13 22:29:04 +0900
commit0b9ecdd4d0a09a8d9a17152e99c521c1fe581411 (patch)
tree870aab18b57b0bcfbdace783ef804c86d079e1ab
parentd430856b3fcd362a9a1a2105a1569bec209f0403 (diff)
downloadmousepoll-0b9ecdd4d0a09a8d9a17152e99c521c1fe581411.tar.gz
mousepoll-0b9ecdd4d0a09a8d9a17152e99c521c1fe581411.tar.bz2
Set mCallback to NULL on constructor
-rw-r--r--mousepoll.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/mousepoll.cpp b/mousepoll.cpp
index 7bfbfae..32704d2 100644
--- a/mousepoll.cpp
+++ b/mousepoll.cpp
@@ -197,7 +197,8 @@ MousePoller::getPosition ()
MousePoller::MousePoller () :
mActive (false),
- mPoint (0, 0)
+ mPoint (0, 0),
+ mCallback (NULL)
{
}