fstl

A fast STL file viewer
git clone https://git.sinitax.com/fstl/fstl
Log | Files | Refs | README | sfeed.txt

commit 9e41de113ef751640c3b84c888d3ed2d21f99c9c
parent a5726c8461fbd277ee03723e75f7094f3bdddebb
Author: Paul T <developer.paul.123@gmail.com>
Date:   Fri, 26 May 2023 12:35:02 -0400

Prefix `usleep` to make origin clear

Use the fully qualified static function to make it clear that it is coming from Qt and not POSIX

Diffstat:
Msrc/loader.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/loader.cpp b/src/loader.cpp @@ -120,7 +120,7 @@ Mesh* Loader::load_stl() file_size = file.size(); do { file_size_old = file_size; - usleep(100000); + QThread::usleep(100000); file_size = file.size(); } while(file_size != file_size_old);