diff --git a/app/src/qt/main_window_presenter.cpp b/app/src/qt/main_window_presenter.cpp index 79b0672b..45be9d44 100644 --- a/app/src/qt/main_window_presenter.cpp +++ b/app/src/qt/main_window_presenter.cpp @@ -2206,7 +2206,7 @@ void MainWindowPresenter::slotRunWingmanFromDialog() " Wingman is talking to GPT provider..." << endl ); QApplication::processEvents(); - std::this_thread::sleep_for(std::chrono::milliseconds(progressStep)); + QThread::msleep(progressStep); // portable sleep progress += progressStep; this->wingmanDialog->setProgressValue(progress); }