diff options
author | Ahmad Samir <a.samirh78@gmail.com> | 2023-02-24 19:00:17 +0200 |
---|---|---|
committer | Ahmad Samir <a.samirh78@gmail.com> | 2023-02-25 23:11:54 +0200 |
commit | 683ddddc6ab5cd94376f1f116b981854f3a91c5b (patch) | |
tree | d04e8859352ec4c00079dfed5c36bb8eb85836e9 /src/corelib/kernel/qtimerinfo_unix.cpp | |
parent | 09f5bb99699e0c31dc7ba9b02a29a1d78d26323e (diff) |
q_core_unix: move timspec<->chrono helpers from qtools_p.h
Where it has a home with its other timespec/chrono siblings.
Luckily I only needed to change one place in the code, and that source
file already has #include's q_core_unix_p.h.
Change-Id: I783383f958ceccfd6f9210f0b76d35b0f82b7cb5
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qtimerinfo_unix.cpp')
-rw-r--r-- | src/corelib/kernel/qtimerinfo_unix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qtimerinfo_unix.cpp b/src/corelib/kernel/qtimerinfo_unix.cpp index 58801b2d60..2c52aaa1ac 100644 --- a/src/corelib/kernel/qtimerinfo_unix.cpp +++ b/src/corelib/kernel/qtimerinfo_unix.cpp @@ -400,7 +400,7 @@ milliseconds QTimerInfoList::remainingDuration(int timerId) if (now < t->timeout) { // time to wait tm = roundToMillisecond(t->timeout - now); - return QtMiscUtils::timespecToChronoMs(&tm); + return timespecToChronoMs(&tm); } else { return milliseconds{0}; } |