summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qtimerinfo_unix.cpp
diff options
context:
space:
mode:
authorLiu Yang <liuyang@uniontech.com>2020-09-16 15:37:11 +0800
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-09-21 09:30:54 +0000
commit0148c6925ec3b6b9a9d2f57ae44fea292a6625e1 (patch)
treede9c361602cf6118bb18858eb7c75a180ca6f646 /src/corelib/kernel/qtimerinfo_unix.cpp
parent0e681064b54a6873bef5ddb7edef7e2efc317efc (diff)
QAbstractEventDispatcher: change event dispatcher timer interval to qint64
Resolve remaining Qt6 TODO [ChangeLog][QtCore][QAbstractEventDispatcher] The signature of the abstract virtual registerTime function now takes a qint64 value for the interval parameter. Change-Id: I10166ad5cfb455edc404d465a3731ff094a8977e Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/kernel/qtimerinfo_unix.cpp')
-rw-r--r--src/corelib/kernel/qtimerinfo_unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qtimerinfo_unix.cpp b/src/corelib/kernel/qtimerinfo_unix.cpp
index 10c5f04839..bcaaf7af05 100644
--- a/src/corelib/kernel/qtimerinfo_unix.cpp
+++ b/src/corelib/kernel/qtimerinfo_unix.cpp
@@ -439,7 +439,7 @@ int QTimerInfoList::timerRemainingTime(int timerId)
return -1;
}
-void QTimerInfoList::registerTimer(int timerId, int interval, Qt::TimerType timerType, QObject *object)
+void QTimerInfoList::registerTimer(int timerId, qint64 interval, Qt::TimerType timerType, QObject *object)
{
QTimerInfo *t = new QTimerInfo;
t->id = timerId;