D17228: Fixing a crash caused by QCustomPlot's replot method in a concurrent thread
Robert Lancaster
noreply at phabricator.kde.org
Thu Nov 29 03:46:48 GMT 2018
lancaster created this revision.
lancaster added a reviewer: mutlaqja.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
lancaster requested review of this revision.
REVISION SUMMARY
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.
REPOSITORY
R321 KStars
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D17228
AFFECTED FILES
kstars/fitsviewer/fitstab.cpp
To: lancaster, mutlaqja
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20181129/7b111c0c/attachment.html>
More information about the kde-edu
mailing list