Don't access job
in BatchQueue::saveBatchQueue()
(fixes #4183)
This commit is contained in:
@@ -29,10 +29,19 @@
|
||||
bool BatchQueueEntry::iconsLoaded(false);
|
||||
Glib::RefPtr<Gdk::Pixbuf> BatchQueueEntry::savedAsIcon;
|
||||
|
||||
BatchQueueEntry::BatchQueueEntry (rtengine::ProcessingJob* pjob, const rtengine::procparams::ProcParams& pparams, Glib::ustring fname, int prevw, int prevh, Thumbnail* thm)
|
||||
: ThumbBrowserEntryBase(fname),
|
||||
opreview(nullptr), origpw(prevw), origph(prevh), opreviewDone(false),
|
||||
job(pjob), params(pparams), progress(0), outFileName(""), sequence(0), forceFormatOpts(false)
|
||||
BatchQueueEntry::BatchQueueEntry (rtengine::ProcessingJob* pjob, const rtengine::procparams::ProcParams& pparams, Glib::ustring fname, int prevw, int prevh, Thumbnail* thm) :
|
||||
ThumbBrowserEntryBase(fname),
|
||||
opreview(nullptr),
|
||||
origpw(prevw),
|
||||
origph(prevh),
|
||||
opreviewDone(false),
|
||||
job(pjob),
|
||||
params(pparams),
|
||||
progress(0),
|
||||
outFileName(""),
|
||||
sequence(0),
|
||||
forceFormatOpts(false),
|
||||
fast_pipeline(job->fastPipeline())
|
||||
{
|
||||
|
||||
thumbnail = thm;
|
||||
|
Reference in New Issue
Block a user