]> sigrok.org Git - pulseview.git/commit
MainWindow: Move show_session_error to signals
authorVesa-Pekka Palmu <redacted>
Thu, 24 Nov 2022 16:58:38 +0000 (18:58 +0200)
committerSoeren Apel <redacted>
Wed, 17 May 2023 12:53:14 +0000 (14:53 +0200)
commitae8dd8753ec0804f9c87938c13b082f8f39b05b0
treebd9ad02a857b7f852feccae058ce7a9624d18c22
parent3903edbd71789f8af1c3b133b5702bd1d66f9242
MainWindow: Move show_session_error to signals

Before various capture error handlers called Mainwindow::show_session_error()
directly, and thus outside of the main UI thread. Qt widgets aren't thread-
safe and thus this resulted in crashes or freezes at least on OSX.
pv/mainwindow.cpp
pv/mainwindow.hpp
pv/session.cpp
pv/session.hpp