diff options
| -rw-r--r-- | opentrack/main-window.cpp | 9 | 
1 files changed, 1 insertions, 8 deletions
| diff --git a/opentrack/main-window.cpp b/opentrack/main-window.cpp index 37beafe3..4f6972f4 100644 --- a/opentrack/main-window.cpp +++ b/opentrack/main-window.cpp @@ -280,14 +280,7 @@ main_window::~main_window()          stop_tracker_();          close(); -        constexpr int inc = 25, max = 1000; - -        for (int k = 0; k < max; k += inc) -        { -            QEventLoop ev; -            ev.processEvents(); -            portable::sleep(inc); -        } +        portable::sleep(1000);      }      exit(); | 
