summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-06-02 10:00:42 (GMT)
committerEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-06-02 10:00:42 (GMT)
commit785e08f74be80ac420b804dc3524558be2592b6b (patch)
tree89ca47eae30678b1431a0f381fa51ef5484218bc /src/corelib/kernel
parent39fc672795fbb60118e8f506e4f2c49b1980b7c0 (diff)
parent65b2f91df8376df97fed7d7096ac73db838e7d09 (diff)
downloadQt-785e08f74be80ac420b804dc3524558be2592b6b.zip
Qt-785e08f74be80ac420b804dc3524558be2592b6b.tar.gz
Qt-785e08f74be80ac420b804dc3524558be2592b6b.tar.bz2
Integrate merge-request #573 into branch 'master'
jieshuzheng (1): Remove the redundant timer kill and start when the two Request-url: http://qt.gitorious.org/qt/qt/merge_requests/573 Reviewed-by: Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>
Diffstat (limited to 'src/corelib/kernel')
-rw-r--r--src/corelib/kernel/qtimer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qtimer.cpp b/src/corelib/kernel/qtimer.cpp
index 08821d4..8ca53b9 100644
--- a/src/corelib/kernel/qtimer.cpp
+++ b/src/corelib/kernel/qtimer.cpp
@@ -211,7 +211,7 @@ void QTimer::start()
*/
void QTimer::start(int msec)
{
- setInterval(msec);
+ inter = msec;
start();
}