Added dialogs when starting/stopping sensors/detection. Fixed nullptr bug on MainWindow::handleEvents

This commit is contained in:
matlabbe
2026-07-03 19:24:45 -07:00
parent d868cffc76
commit 5d74d9e153
5 changed files with 121 additions and 10 deletions
+4
View File
@@ -52,6 +52,10 @@ int main(int argc, char* argv[])
ULogger::setLevel(ULogger::kWarning);
#ifdef WIN32
// STA (single-threaded apartment) is required for the native file dialogs / File Explorer
// (see commit d75cc04, "Fixed File Explorer hanging (Qt 5.12)"). Do NOT switch to MTA
// (CoInitializeEx COINIT_MULTITHREADED): it deadlocks the
// native file dialogs.
CoInitialize(nullptr);
#endif