diff options
Diffstat (limited to 'user/lxqt-session/fix-chrono.patch')
-rw-r--r-- | user/lxqt-session/fix-chrono.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/user/lxqt-session/fix-chrono.patch b/user/lxqt-session/fix-chrono.patch new file mode 100644 index 000000000..ea1e66048 --- /dev/null +++ b/user/lxqt-session/fix-chrono.patch @@ -0,0 +1,19 @@ +diff -Nurd lxqt-session-0.17.0/lxqt-session/src/procreaper.cpp lxqt-session-0.17.0.new/lxqt-session/src/procreaper.cpp +--- lxqt-session-0.17.0/lxqt-session/src/procreaper.cpp 2021-04-13 17:37:02.000000000 +0000 ++++ lxqt-session-0.17.0.new/lxqt-session/src/procreaper.cpp 2021-07-21 09:20:28.959046533 +0000 +@@ -58,7 +58,7 @@ + if (pid <= 0) + { + QMutexLocker guard{&mMutex}; +- mWait.wait(&mMutex, std::chrono::seconds(1)); ++ mWait.wait(&mMutex, std::chrono::seconds(1).count()); + } + + int status; +@@ -111,5 +111,5 @@ + QMutexLocker guard{&mMutex}; + mShouldRun = false; + } +- QThread::wait(std::chrono::seconds(5)); ++ QThread::wait(std::chrono::seconds(5).count()); + } |