Fixing an intermittent crash caused by QCustomPlot's replot method
being used in a concurrent thread The reason for it is because Qt does not
support painting to GUI elements in any thread but the GUI thread and
QCustomPlot's replot method includes a repaint. So if the Histogram is
currently visible and construct histogram is run in a concurrent thread,
the program would call replot and crash.
Details
Details
Diff Detail
Diff Detail
- Repository
- R321 KStars
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.