Fix bug which may be causing the fits crashes.

Authored by murveit on Feb 3 2020, 5:42 AM.

Description

Fix bug which may be causing the fits crashes.

Summary:
It looks like the thread which is writing the fits files is using memory (QString filename) that is a
local variable in a method which likely ends before the write thread ends.
Change this filename variable to a class variable which should be safe memory.

Reviewers: mutlaqja

Reviewed By: mutlaqja

Subscribers: kde-edu

Tags: KDE Edu

Differential Revision: https://phabricator.kde.org/D27115

Details

Committed
mutlaqjaFeb 3 2020, 5:42 AM
Reviewer
mutlaqja
Differential Revision
D27115: Fix bug which may be causing the fits crashes.
Parents
R321:ead4e08b01aa: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown