From 683ddddc6ab5cd94376f1f116b981854f3a91c5b Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Fri, 24 Feb 2023 19:00:17 +0200 Subject: 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 --- src/corelib/kernel/qtimerinfo_unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib/kernel/qtimerinfo_unix.cpp') 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}; } -- cgit v1.2.3