summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qeventdispatcher_unix.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-12-14 11:25:32 +0100
committerThiago Macieira <thiago.macieira@nokia.com>2010-12-15 18:51:29 +0100
commite1955231478df8990cf8b1f80438abf957c5d6f2 (patch)
tree8e2eb531a07558ee86081fa06c4742860a94acae /src/corelib/kernel/qeventdispatcher_unix.cpp
parentcb51c2157f870a5c83ae6d9435ec4b1004392bc9 (diff)
Add a warning about trying to release a timer ID that isn't active
Reviewed-By: Trust Me
Diffstat (limited to 'src/corelib/kernel/qeventdispatcher_unix.cpp')
-rw-r--r--src/corelib/kernel/qeventdispatcher_unix.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/kernel/qeventdispatcher_unix.cpp b/src/corelib/kernel/qeventdispatcher_unix.cpp
index f50994ce9a..b2ccc68e1a 100644
--- a/src/corelib/kernel/qeventdispatcher_unix.cpp
+++ b/src/corelib/kernel/qeventdispatcher_unix.cpp
@@ -501,6 +501,7 @@ bool QTimerInfoList::unregisterTimer(int timerId)
}
}
// id not found
+ qWarning("Application asked to unregister timer 0x%x which is not registered in this thread. Fix application.", timerId);
return false;
}